Resolving divergent alembic migrations #3319
bendnorman
started this conversation in
Ideas
Replies: 1 comment
-
I also vote for option 1, but I also delete my DB almost every day, sometimes multiple times. One can also repopulate the outputs by pulling down the nightly build outputs if you're just working on changing a single asset or a small group of assets. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is our strategy for resolving divergent alembic migrations when we merge
main
into a feature branch? I see three options:Option three feels like the "right" way to resolve divergent migrations, though it might create some additional complexity when we don't really need a full migration history. Option 1 seems like the simplest option but would require contributors to delete their PUDL database and rerun the
alembic upgrade head.
Maybe that's not a huge issue because it doesn't take that long to repopulate the database.I think I prefer option 1 because it is the simplest. Maintaining a full migration history doesn't provide much benefit to us.
Beta Was this translation helpful? Give feedback.
All reactions