qi6_app/db/migrate/20180118211206_create_articleindexs_contents.rb
2019-05-17 12:30:45 +02:00

11 lines
259 B
Ruby

class CreateArticleindexsContents < ActiveRecord::Migration[6.0]
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