You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
If my development database has more tables in it then the one I trying to pull using cap db:pull my migrations will fail afterwards. When the capistrano task calls rake db:restore it changes the schema_migrations data but will not drop or reset the tables.
To solve this i can manually recreate the database before using rake db:restore.
Is this as designed or is this a bug?
How to recreate:
create an migration in any rails app using PostgreSQL (haven't tried MySQL).
run migration, only on your development machine.
run cap db:pull
run your migrations again and it will fail because the database it tries to create already exists.
The text was updated successfully, but these errors were encountered:
Using postgres.
If my development database has more tables in it then the one I trying to pull using
cap db:pull
my migrations will fail afterwards. When the capistrano task callsrake db:restore
it changes theschema_migrations
data but will not drop or reset the tables.To solve this i can manually recreate the database before using
rake db:restore
.Is this as designed or is this a bug?
How to recreate:
cap db:pull
The text was updated successfully, but these errors were encountered: