This commit is contained in:
bkellam 2025-11-28 22:44:30 -08:00
parent 3d88505257
commit f46598fddb

View file

@ -1,5 +1,5 @@
-- Set all chats created by the guest user (id: 1) to have a NULL createdById.
UPDATE "Chat" SET "createdById" = NULL WHERE "createdById" = '1';
-- AlterTable
ALTER TABLE "Chat" ALTER COLUMN "createdById" DROP NOT NULL;
-- Set all chats created by the guest user (id: 1) to have a NULL createdById.
UPDATE "Chat" SET "createdById" = NULL WHERE "createdById" = '1';