class CreateSubmissions < ActiveRecord::Migration[5.1] def change create_table :submissions do |t| t.string :title t.string :description t.belongs_to :assignment, foreign_key: true t.timestamps end end end