basic_app/migrations/01210_create_video_file_langs.rb
Nicolas Bally fd027c16c1 initial
2020-04-21 21:53:16 +02:00

14 lines
335 B
Ruby

class CreateVideoFileLangs < ActiveRecord::Migration[6.0]
def change
create_table :video_file_langs do |t|
t.string :title
t.text :description
t.string :slug
t.references :video_file, index: true
t.references :lang_site, index: true
t.timestamps
end
end
end