-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
fix: Run migration sql as statement so that the primary db node is used #47640
Conversation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
/backport to stable30 |
/backport to stable29 |
The backport to # Switch to the target branch and update it
git checkout stable29
git pull origin stable29
# Create the new backport branch
git checkout -b backport/47640/stable29
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick c3fa25a1
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/47640/stable29 Error: Failed to clone repository: Failed to checkout branches: Updating 1cc7851..7f0d0cf
Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
The backport to # Switch to the target branch and update it
git checkout stable30
git pull origin stable30
# Create the new backport branch
git checkout -b backport/47640/stable30
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick c3fa25a1
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/47640/stable30 Error: Failed to clone repository: Failed to checkout branches: Updating 1cc7851..7f0d0cf
Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
/backport to stable30 |
/backport to stable29 |
Otherwise database migrations could fail when Nextcloud is setup with read replicas.