Conversation
681091f to
efd7dba
Compare
shilorigins
left a comment
There was a problem hiding this comment.
This works for me, thanks!
|
Can you also remove the |
So I looked through all of the documentation for any references to
I think these both have their problems, but the way they use the command is kinda correct. We should consider a documentation overhaul (#34) at some point because there's a lot of bad documentation in here. For example, we probably don't need a quick reference for the Alembic commands in our docs. We could possibly link to existing Alembic documentation instead. And as for the "Local Development", the docs consistently reference a script that doesn't exist called TL;DR: I think I'm going to leave the docs references to |
efd7dba to
122cebe
Compare
|
@zdomke A wrinkle for automatic updates? I'm getting this error in |
Description
Add an entrypoint to
Dockerfile.devto runalembic upgrade headautomatically before when starting docker containers. We may only want to upgrade automatically for dev environments, so we may choose to avoid this if we have a separate prod docker file.One of the benefits to using alembic here is that if alembic's current iteration is already on the head, then nothing happens.
Motivation
We were tired of running
alembic upgrade headwhen removing/building volumes. Even more tired of forgetting to run that command.Pre-merge checklist