panier_app/migrations/01210_create_video_file_langs.rb
Nicolas Bally d744a04b28 initial
2020-10-30 22:26:40 +01: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