Skip to content

Improve migrate script#18

Open
sebastienbeau wants to merge 1 commit into
masterfrom
improve-migrate
Open

Improve migrate script#18
sebastienbeau wants to merge 1 commit into
masterfrom
improve-migrate

Conversation

@sebastienbeau

@sebastienbeau sebastienbeau commented May 2, 2024

Copy link
Copy Markdown
Member

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