1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-01-20 18:28:25 +02:00

Removed an incorrect semicolon from SQL migration causing syntax error (#2637)

This commit is contained in:
Harshil Sharma 2022-03-25 16:58:01 +05:30 committed by GitHub
parent 8ce17a93d0
commit 4d88f525ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -366,7 +366,7 @@ CREATE INDEX idx_boardmembers_user_id ON {{.prefix}}board_members(user_id);
INSERT INTO {{.prefix}}board_members ( INSERT INTO {{.prefix}}board_members (
SELECT B.Id, CM.UserId, CM.Roles, (CM.UserId=B.created_by) OR CM.SchemeAdmin, CM.SchemeUser, FALSE, CM.SchemeGuest SELECT B.Id, CM.UserId, CM.Roles, (CM.UserId=B.created_by) OR CM.SchemeAdmin, CM.SchemeUser, FALSE, CM.SchemeGuest
FROM {{.prefix}}boards AS B FROM {{.prefix}}boards AS B
INNER JOIN ChannelMembers as CM ON CM.ChannelId=B.channel_id; INNER JOIN ChannelMembers as CM ON CM.ChannelId=B.channel_id
); );
{{else}} {{else}}
{{- /* if we're in personal server or desktop, create memberships for everyone */ -}} {{- /* if we're in personal server or desktop, create memberships for everyone */ -}}