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

feat: Include DROP statements for unmapped indices in list of statements returned by statementsRequiredForDatabaseMigration function #2023

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

joc-a
Copy link
Collaborator

@joc-a joc-a commented Mar 6, 2024

Previously, for indices that exist in the database but are not mapped in the code, only a warning was logged, but their DROP statements were not included in the statements returned by the statementsRequiredForDatabaseMigration function. This PR changes that.
A separate function was introduced to keep the behaviour in the older functions the same and limit this change to the statementsRequiredForDatabaseMigration function.

@joc-a joc-a force-pushed the joc/drop-unmapped-indices branch from 597728b to 783810e Compare March 6, 2024 16:53
@joc-a joc-a marked this pull request as ready for review March 6, 2024 22:00
@joc-a joc-a requested review from bog-walk and e5l March 6, 2024 22:00
joc-a added 2 commits March 11, 2024 16:52
…nts returned by `statementsRequiredForDatabaseMigration` function

A separate function was introduced to keep the behaviour in the older functions the same.
@joc-a joc-a force-pushed the joc/drop-unmapped-indices branch from 783810e to 4f08b53 Compare March 11, 2024 15:55
@joc-a joc-a merged commit 4d17f56 into main Mar 12, 2024
5 checks passed
@joc-a joc-a deleted the joc/drop-unmapped-indices branch March 12, 2024 09:36
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