DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: class MigrationClass < ActiveRecord::Migration[4.2] (called from require at bin/rails:4)
16 lines
404 B
Ruby
16 lines
404 B
Ruby
class CreateSiteCustomizationPages < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :site_customization_pages do |t|
|
|
t.string :slug, null: false
|
|
t.string :title, null: false
|
|
t.string :subtitle
|
|
t.text :content
|
|
t.boolean :more_info_flag
|
|
t.boolean :print_content_flag
|
|
t.string :status, default: 'draft'
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|