payrepmc_app/db/migrate/20150121213102_create_video_contents.rb
2018-08-03 01:08:08 +02:00

17 lines
360 B
Ruby

class CreateVideoContents < ActiveRecord::Migration
def change
create_table :video_contents do |t|
t.references :video_file, index: true
t.string :title
t.boolean :download
t.boolean :autoplay
t.boolean :fullscreen
t.boolean :controls
t.string :legend
t.string :style
t.timestamps
end
end
end