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

Improve migrate script #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Improve migrate script #18

wants to merge 1 commit into from

Conversation

sebastienbeau
Copy link
Member

@sebastienbeau sebastienbeau commented May 2, 2024

This PR avoid to run twice the migration script (sql or python).
For this, I just create a virtual version x.x.9999.9.9 version of module that have migration script so after running the migration script as the version is x.x.9999.9.9 is the same in the database and virtually in the manifest, the upgrade is not launch again.

I also allow to have several "before-XXX.sql"

@florian-dacosta

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