educoder/db/migrate/20190809010636_create_video...

11 lines
246 B

6 years ago
class CreateVideoApplies < ActiveRecord::Migration[5.2]
def change
create_table :video_applies do |t|
t.references :video, index: true, type: :integer
t.string :status
t.string :reason
t.timestamps
end
end
end