-
Notifications
You must be signed in to change notification settings - Fork 508
Create a new table for internal signaling and guest names with a PK #4735
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
Conversation
Signed-off-by: Joas Schilling <[email protected]>
01516f8 to
fbf72c1
Compare
|
@nickvergessen mind adding more context to the PR to explain what this is about and why we need it ? (our future selves will be thankful) |
|
aha, the branch name contains a clue "cluster-compatibility" |
|
Yeah, so tables need a primary key in order to work in Galera and other clusters:
Server was fixed in nextcloud/server@d5df033#diff-723d474847ce3f8926be66be2147d580e43f9a021655b56b6942d683ed408b49 |
PVince81
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 looks fine, see minor comment.
I did a quick test with some data in the table and the guest names were moved properly to the new table.
|
there's a chat integration test that failed, maybe rebase to try again |
Signed-off-by: Joas Schilling <[email protected]>
|
It was actually a valid fail for inserting a guest name. |
PVince81
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 nice catch
Signed-off-by: Joas Schilling [email protected]