From 564ba508e7ce80fa968c23085650caa0809a1157 Mon Sep 17 00:00:00 2001 From: Henry Date: Wed, 10 Sep 2025 21:26:34 +0100 Subject: [PATCH] feat: add migration to remove not null constraint from referenceId on subscriptions --- ...5058_RemoveNotNullConstraintFromReferenceIdOnSubsriptions.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 packages/db/migrations/20250910195058_RemoveNotNullConstraintFromReferenceIdOnSubsriptions.sql diff --git a/packages/db/migrations/20250910195058_RemoveNotNullConstraintFromReferenceIdOnSubsriptions.sql b/packages/db/migrations/20250910195058_RemoveNotNullConstraintFromReferenceIdOnSubsriptions.sql new file mode 100644 index 00000000..4fa338dc --- /dev/null +++ b/packages/db/migrations/20250910195058_RemoveNotNullConstraintFromReferenceIdOnSubsriptions.sql @@ -0,0 +1 @@ +ALTER TABLE "subscription" ALTER COLUMN "referenceId" DROP NOT NULL; \ No newline at end of file