On 3rd line of down
method, you missed a comma
change_column("admin_users", "email", :string :default => "", :null => false)
^
## missing comma
which is why you are getting error as unexpected ':', expecting ')' ...dmin_users", "email", :string :default => "", :null => false)
Simply, add a comma between :string
and :default
and run rake db:migrate
.