# This migration comes from almanac (originally 20121009222451) class CreateAlmanacPosts < ActiveRecord::Migration def up create_table :almanac_posts do |t| t.string :title t.text :body t.boolean :published, :default => false t.references :blog t.references :author t.timestamps end end def down drop_table :almanac_posts end end