A very quick Google search for "rails rename column" will show that there's a method called "rename_column"
You can even search for "rails typo in migration" and the first result is a stack overflow post suggesting and explaining how to roll back the migration so you can edit it