kaps_app/db/migrate/20150121213102_create_video_contents.rb
Nicolas Bally d60301e8a7 initial
2019-01-21 01:15:10 +01: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