This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/db/migrate/01200_create_video_contents.rb
2021-08-23 10:26:02 +02: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