Skip to content

Improve alembic db url handling + improve merge_db etc.#29

Merged
RudolfCardinal merged 7 commits intomasterfrom
improve_alembic_db_url_handling
Mar 6, 2025
Merged

Improve alembic db url handling + improve merge_db etc.#29
RudolfCardinal merged 7 commits intomasterfrom
improve_alembic_db_url_handling

Conversation

@RudolfCardinal
Copy link
Owner

Includes:

  • improvements to Alembic handling so a database URL can be passed in more consistently
  • improvements to merge_db(), including the option to calculate the table sequencing (because sometimes SQLAlchemy's order goes wrong in contexts where circular references need to be broken)
  • add back some back-compatibility with SQLAlchemy 1.4+ imports for testing

@RudolfCardinal
Copy link
Owner Author

This to support (among other things) the current CamCOPS development version.

Copy link
Collaborator

@martinburchell martinburchell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@RudolfCardinal RudolfCardinal merged commit 320d4b0 into master Mar 6, 2025
1 check passed
@RudolfCardinal RudolfCardinal deleted the improve_alembic_db_url_handling branch March 6, 2025 11:26
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.

2 participants