abritium_app/db/migrate/20150121213102_create_video_contents.rb
Nicolas Bally a92bd4db72 initial
2019-05-08 11:30:56 +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