lockaz_app/migrations/00380_create_lang_pages.rb
Nicolas Bally f20fe482c6 initial
2020-04-06 10:38:07 +02:00

17 lines
461 B
Ruby

class CreateLangPages < ActiveRecord::Migration[6.0]
def change
create_table :lang_pages do |t|
t.references :lang_site, index: true
t.references :page, index: true
t.text :title
t.text :description
t.text :keywords
t.string :twitter_title
t.text :twitter_description
t.references :without_text_image_file, index: true
t.timestamps
end
end
end