basic_dem_app/migrations/01200_create_video_contents.rb
Nicolas Bally 3524d4c862 intial
2020-03-18 15:49:29 +01:00

17 lines
491 B
Ruby

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