1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

[AC-1682] Update RevisionDate in Group table

This commit is contained in:
Rui Tome
2024-02-16 12:51:13 +00:00
parent 39e336eddd
commit f7f692cf08
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ WHERE CG."CollectionId" IS NULL;
-- Step 5: Update Group to clear AccessAll flag
UPDATE "Group"
SET "AccessAll" = 0
SET "AccessAll" = 0, "RevisionDate" = CURRENT_TIMESTAMP
WHERE "Id" IN (SELECT "GroupId" FROM TempGroup);
-- Step 6: Update User AccountRevisionDate for each unique OrganizationUserId