16 lines
341 B
Ruby
16 lines
341 B
Ruby
class CreatePlumeArticles < ActiveRecord::Migration
|
|
def change
|
|
create_table :plume_articles do |t|
|
|
t.string :title
|
|
t.string :slug
|
|
t.integer :position
|
|
t.references :plume_cat, index: true
|
|
t.text :description
|
|
t.references :image_file
|
|
t.string :article_type
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|