You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- migration-safe: contract of #7112 and #7123 — application reads and writes use size_bytes, the backfill is complete, and this PR must merge only after the compatibility release fully drains
7
+
ALTERTABLE"workspace_files" ALTER COLUMN "size_bytes"SETNOT NULL;--> statement-breakpoint
8
+
-- migration-safe: removes the temporary proof constraint created and validated above after PostgreSQL records the equivalent column-level NOT NULL invariant
9
+
ALTERTABLE"workspace_files"
10
+
DROP CONSTRAINT"workspace_files_size_bytes_not_null_check";--> statement-breakpoint
11
+
DROPTRIGGER IF EXISTS "workspace_files_sync_size_columns"ON"workspace_files";--> statement-breakpoint
12
+
DROPFUNCTION IF EXISTS "sync_workspace_file_size_columns"();--> statement-breakpoint
13
+
-- migration-safe: contract of #7112 and #7123 — no deployed application reader or writer depends on size, and this PR must merge only after the compatibility release fully drains
0 commit comments