Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixes #69 - Create migration scripts for DB [WIP] #130
This works locally to generate scripts, but I need to change the "development" config before we merge and I run everything again locally and then on Heroku to add the
Which brings me to a question about the current
we're using exporting
Should we consider using
we should try to make things consistent indeed.
Then we could block the export to heroku (so dev configs/env are only locals).
for the best of my knowledge this is not possible. There is no filesystem on heroku. The migrations always happen locally on the person computer doing the DB update. Then the modifications are committed and deployed on heroku.
flask db init # locally flask db migrate # locally # Commit the results in the github repo heroku run flask db upgrade
Which ever we do, part of this pull request should contain a thorough documentation of the step by step instructions to migrate the DB.
Yes, the modifications are done locally, but the files generated in the
I will look into