From 4d88f525aea0c2a31082f3c13f52697d1accffa1 Mon Sep 17 00:00:00 2001 From: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com> Date: Fri, 25 Mar 2022 16:58:01 +0530 Subject: [PATCH] Removed an incorrect semicolon from SQL migration causing syntax error (#2637) --- .../sqlstore/migrations/000017_add_teams_and_boards.up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/services/store/sqlstore/migrations/000017_add_teams_and_boards.up.sql b/server/services/store/sqlstore/migrations/000017_add_teams_and_boards.up.sql index 4847cf4d4..5b31f86c2 100644 --- a/server/services/store/sqlstore/migrations/000017_add_teams_and_boards.up.sql +++ b/server/services/store/sqlstore/migrations/000017_add_teams_and_boards.up.sql @@ -366,7 +366,7 @@ CREATE INDEX idx_boardmembers_user_id ON {{.prefix}}board_members(user_id); 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 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}} {{- /* if we're in personal server or desktop, create memberships for everyone */ -}}