socialforge/db/migrate/20170220060210_create_homew...

13 lines
254 B
Ruby

class CreateHomeworkBankTests < ActiveRecord::Migration
def change
create_table :homework_bank_tests do |t|
t.text :input
t.text :output
t.boolean :test_type
t.references :homework_bank
t.timestamps
end
end
end