18 lines
344 B
Ruby
18 lines
344 B
Ruby
class CreateFaqs < ActiveRecord::Migration
|
|
def change
|
|
create_table :faqs do |t|
|
|
t.string :title
|
|
t.text :description
|
|
t.boolean :enabled
|
|
t.string :slug
|
|
t.references :image_file
|
|
|
|
t.string :tags_cache
|
|
t.string :tags_cache_slug
|
|
t.integer :category_id
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|