mmsc_app/migrations/00150_create_category_langs.rb
Nicolas Bally a6aa1f6074 Initial
2020-05-25 11:40:11 +02:00

15 lines
365 B
Ruby

class CreateCategoryLangs < ActiveRecord::Migration[6.0]
def change
create_table :category_langs do |t|
t.string :name
t.string :slug
t.text :description
t.integer :image_file_id
t.references :lang_site, index: true
t.references :category, index: true
t.timestamps
end
end
end