ActiveRecord::Migration
# File test/dummy/db/migrate/20111001122048_create_posts.rb, line 2 def change create_table :posts do |t| t.string :name t.string :title t.integer :image_id t.text :content t.timestamps end end