Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alembic: improve robustness and document revision creation process #74

Open
2 tasks
mvidalgarcia opened this issue Jul 6, 2020 · 0 comments
Open
2 tasks

Comments

@mvidalgarcia
Copy link
Member

  • Implement a mechanism to verify that our alembic revision scripts are robust: dbdump -> apply recipe -> dbdump -> compare SQL dumps to make sure our upgrade path is robust.

    Reference: Indico team uses a similar mechanism to print the differences between DB tables and SQLAlchemy models.db_diff.py

  • Document the whole process of creating a robust and trustworthy alembic revision script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant