lockaz_app/migrations/00150_create_category_langs.rb
Nicolas Bally f20fe482c6 initial
2020-04-06 10:38:07 +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