Failed to run migration

i have a migration but after running it (rake db:migrate),it created a table "posts" but couldn't create columns.

class CreatePosts < ActiveRecord::Migration   def self.up     create_table :posts do |t|       t.string :name       t.string :title       t.text :content       t.timestamps      end    end     def self.down     drop_table :posts   end end

Please help!!

John