bievre_reno_app/db/migrate/20180118211206_create_articleindexs_contents.rb
Caroline Girard d727d313b7 initial
2018-09-11 13:49:55 +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