class CreateFlatpages < ActiveRecord::Migration def self.up create_table :flatpages do |t| t.string :title t.string :url t.text :body t.boolean :is_active t.timestamps end end def self.down drop_table :flatpages end end