site
site copied to clipboard
Easy docker migrations
This PR adds two things
- An easy way to generate migrations running under a pure docker setup
- Simply run
poetry run task dockermigrationsand all the migrations will be created - Under the hood this calls docker exec and then through the magic of volumes it appears in the local system
- Simply run
- Add a persistent volume for postgres data
- This means
docker-compose downwon't lose your db data anymore. - If needed you can still do
docker-compose down --volumes
- This means
✔️ Deploy Preview for pydis-static ready!
🔨 Explore the source changes: 8080d24da3b76697d5f63edba10248ae0eb6e346
🔍 Inspect the deploy log: https://app.netlify.com/sites/pydis-static/deploys/618d867f4fd12000080c78e9
😎 Browse the preview: https://deploy-preview-622--pydis-static.netlify.app
Coverage remained the same at 100.0% when pulling 8080d24da3b76697d5f63edba10248ae0eb6e346 on easy-docker-migrations into 613e0730c5391c33d35106049bb6e8537e644446 on main.
The home app's migrations should also be mounted. This seems to be the only other app that has models.
The home app's migrations should also be mounted. This seems to be the only other app that has models.
Not sure why I forgot you mentioning other apps having migrations yesterday. I've force pushed a new mount 👍