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

DM-46034: Add a test that the database schema hasn't changed #1090

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

rra
Copy link
Member

@rra rra commented Sep 11, 2024

Add a new test that uses alembic check to ensure that the database schema hasn't changed.

To support maintaining the data files used by that test, add a new gafaelfawr generate-schema command that dumps the SQL commands required to generate the current schema. Document using that command to update the most recent schema in the test suite after adding a new schema migration.

Add a new test that uses `alembic check` to ensure that the database
schema hasn't changed.

To support maintaining the data files used by that test, add a new
`gafaelfawr generate-schema` command that dumps the SQL commands
required to generate the current schema. Document using that command
to update the most recent schema in the test suite after adding a new
schema migration.
@rra rra merged commit 81a9a4b into main Sep 11, 2024
5 checks passed
@rra rra deleted the tickets/DM-46034a branch September 11, 2024 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant