socialforge/db/migrate/20170220060210_create_homew...

13 lines
254 B
Ruby
Raw Normal View History

2017-02-24 10:32:48 +08:00
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