pollen_app/migrations/01210_create_video_file_langs.rb
Nicolas Bally 120e9803eb initial
2020-04-28 14:51:42 +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