karim_app/db/migrate/20180118211206_create_articleindexs_contents.rb
Nicolas Bally a0a3cfd6fe initial
2018-06-11 01:40:28 +02: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