abritium_paysage_app/db/migrate/20151108201637_create_lang_articles.rb
Nicolas Bally ad337f221c initial
2020-02-17 18:54:26 +01:00

25 lines
481 B
Ruby

class CreateLangArticles < ActiveRecord::Migration
def change
create_table :lang_articles do |t|
t.datetime :published_at
t.string :title
t.string :slug
t.text :description
t.text :keywords
t.boolean :enabled
t.references :image_file
t.boolean :title_cached
t.string :tags_cache
t.string :tags_cache_slug
t.references :lang_site
t.references :article
t.timestamps null: false
end
end
end