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.
14 lines
397 B
14 lines
397 B
5 years ago
|
class CreateShixunWorkComments < ActiveRecord::Migration[5.2]
|
||
|
def change
|
||
|
create_table :shixun_work_comments do |t|
|
||
|
t.references :student_work, index: true, type: :integer
|
||
|
t.references :challenge, index: true, type: :integer, default: 0
|
||
|
t.references :user, index: true, type: :integer
|
||
|
t.text :comment
|
||
|
t.text :hidden_comment
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|