From 7002fcba793271cd9be6efd767409be569f3905c Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Thu, 15 Feb 2024 12:32:26 -0500 Subject: [PATCH] fix: remove default(false) on unsafeWritable --- packages/db/src/core/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/db/src/core/types.ts b/packages/db/src/core/types.ts index 4a42918d1f..ba65d4eb72 100644 --- a/packages/db/src/core/types.ts +++ b/packages/db/src/core/types.ts @@ -310,7 +310,7 @@ export const dbConfigSchema = z.object({ .function() .returns(z.union([z.void(), z.promise(z.void())])) .optional(), - unsafeWritable: z.boolean().optional().default(false), + unsafeWritable: z.boolean().optional(), }); export type DBUserConfig = Omit, 'data'> & {