abritium_app/db/migrate/20180118211206_create_articleindexs_contents.rb
Nicolas Bally a92bd4db72 initial
2019-05-08 11:30:56 +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