-
Notifications
You must be signed in to change notification settings - Fork 483
rake db:migrate fails to run on first deploy #191
Copy link
Copy link
Closed
Description
Hi, I am trying to do my first deploy with mina, and it fails to run the migrations.
This is normal: my migrations do not run from the start, because somewhere during development I added the schema_plus gem, which makes my migrations more stringent.
Normally this is not a problem: I would just do rake db:setup and I would be fine and dandy. However: after a failed install, everything is deleted, so I cannot do a manual rake db:setup.
Does anybody have some tips how to get out of this?
So, either
- a way to run
rake db:setupon first deploy - or a way that the files are not deleted after a failed install, so I can still manually run
rake db:setup
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels