-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Proposal: backport migration #10625
Proposal: backport migration #10625
Conversation
But then the same migrations may be executed twice? |
Yes, that's a requisite. Only migrations that can be executed twice, like the one backported here. I've wrote it down right before the declaration, just in case:
|
Not bad but the 117.1.go is a weared naming concept. Why not name bakports like |
I wanted it to follow the version/subversion number in the |
We could also use a tool such as xormigrate which keeps track of all the migrations that are run, instead of just the latest, and would be able to handle the case of backporting a migration. |
I've created a pattern to support backporting certain migrations. As an example, I've backported #10617.
Important: This PR is not pointing to
master
butrelease/v1.11
I've labeled this PR
kind/proposal
for the system andkind/bug
for the migration I've included.