payrejardi_app/db/migrate/20180118211206_create_articleindexs_contents.rb
Nicolas Bally 3233232f4e initial
2019-02-01 12:07:55 +01:00

11 lines
254 B
Ruby

class CreateArticleindexsContents < ActiveRecord::Migration
def change
create_table :articleindexs_contents do |t|
t.references :category, index: true, foreign_key: true
t.string :style
t.timestamps null: false
end
end
end