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.
12 lines
395 B
12 lines
395 B
class CreateItemBankStandardAnswers < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :item_bank_standard_answers do |t|
|
|
t.integer :position, comment: "表示选项的序号,并非外键,相同的position_id表示,同一个空的答案"
|
|
t.integer :item_bank_id, index: true, comment: "外键,关联ItemBank"
|
|
t.text :answer_text
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|