1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

⚠️ Do not specify database in migration files (#1628)

* Do not specify database in migration files

* Rename migrations to force them to re-run

* Use new migration files

* Rename EF migrations
This commit is contained in:
Matt Gibson
2021-10-11 10:20:21 -05:00
committed by GitHub
parent 44f30e7948
commit 7802c2b969
9 changed files with 29 additions and 17 deletions

View File

@ -35,7 +35,7 @@ CREATE OR REPLACE FUNCTION updatePermissionsJson(permissions jsonb) returns json
END
$$;
UPDATE public."OrganizationUser"
UPDATE "OrganizationUser"
SET "Permissions" = updatePermissionsJson("Permissions"::jsonb)::text
WHERE "Permissions" IS NOT NULL;