olwen_demo_app/db/migrate/01210_create_video_file_langs.rb
Nicolas Bally 7b2e6811dd initial
2020-06-05 11:10:02 +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