You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trustieforge/db/migrate/20150519014600_create_homew...

20 lines
452 B

class CreateHomeworkDetailManuals < ActiveRecord::Migration
def up
create_table :homework_detail_manuals do |t|
t.float :ta_proportion
t.integer :comment_status
t.date :evaluation_start
t.date :evaluation_end
t.integer :evaluation_num
t.integer :absence_penalty, default: 1
t.integer :homework_common_id
t.timestamps
end
end
def down
drop_table :homework_detail_manuals
end
end