Multiple Migrations whit same Version Number on Deployng Rails to Heroku -


im have problem many times, search , not found solution solve, problem this:

after run

git push heroku push master 

when run

heroku run rake db:migrate 

i error:

multiple migrations have version number 20130615132808 

im search problem , found this:

rails database migration - multiple migrations have version number x

but when execute git rm appear options dont understand git need solve problem, in localhost im delete archives problem persists, help.

just rename files duplicate timestamps (add 1 last digit) , add, commit , push files. when run heroku run rake db:migrate again dandy.

and future remember not copy , rename migrations hand (so don't repeated version numbers)


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -