mirror of
https://github.com/documenso/documenso.git
synced 2026-06-22 04:12:06 +10:00
chore: trim verbose audit log backfill migration comment
This commit is contained in:
+1
-5
@@ -1,11 +1,7 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "DocumentMeta" ADD COLUMN "includeAuditLog" BOOLEAN NOT NULL DEFAULT false;
|
||||
|
||||
-- Backfill existing rows from the effective team/organisation setting. Before this
|
||||
-- column existed the sealing flow read `includeAuditLog` from the team settings
|
||||
-- (falling back to the organisation default), so documents created prior to this
|
||||
-- migration must keep that resolved value to avoid silently dropping audit-log
|
||||
-- embedding after deploy.
|
||||
-- Backfill includeAuditLog from the effective team/organisation setting
|
||||
UPDATE "DocumentMeta" AS dm
|
||||
SET "includeAuditLog" = COALESCE(tgs."includeAuditLog", ogs."includeAuditLog")
|
||||
FROM "Envelope" e
|
||||
|
||||
Reference in New Issue
Block a user