mmsc_app/migrations/01210_create_video_file_langs.rb
Nicolas Bally a6aa1f6074 Initial
2020-05-25 11:40:11 +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