rails generate migration name
Then edit the generated migration file and add a line
rename_column :table, :old_column, :new_column
where the table and columns are filled in as appropriate. rake
db:migrate and your database is good to go.