-
Notifications
You must be signed in to change notification settings - Fork 3
chore: Stop running migrations automatically, run migrations by hand. #452
Conversation
Codecov Report
@@ Coverage Diff @@
## master #452 +/- ##
=======================================
Coverage 58.73% 58.73%
=======================================
Files 7 7
Lines 126 126
Branches 27 27
=======================================
Hits 74 74
Misses 50 50
Partials 2 2 Continue to review full report at Codecov.
|
Could we put in some regex that would require the database URL variable to start with "http://localhost:"? And throw a warning to switch the variable. |
don't love that because we may use copies or staging DBs at some point. it's really just protecting the prod DB we're concerned about. |
…into make-migrations-great-again
…ct/apollos-templates into make-migrations-great-again
@redreceipt added some documentation to the readme |
README.md
Outdated
@@ -82,8 +82,7 @@ heroku open | |||
|
|||
To get started with different API integrations, check out our [docs](https://apollosapp.io)! | |||
|
|||
#### |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agh you beat me to it!
Steps to test
yarn migrator down
yarn migrator up
.5 Confirm that migrations were ran.
Also note commands like
yarn migrator --help