From 3f3388a5c2e3d6fd32b16c7acc375bc9a0814688 Mon Sep 17 00:00:00 2001 From: Shan Wenxiao Date: Fri, 2 Aug 2024 17:04:52 +0800 Subject: [PATCH] Update Database.ts Signed-off-by: Shan Wenxiao --- Source/Database.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Database.ts b/Source/Database.ts index 6ec0d7a..9182a15 100644 --- a/Source/Database.ts +++ b/Source/Database.ts @@ -19,7 +19,7 @@ import {Result, ThrowErrorIfFailed} from "./Result"; import {Output} from "./Output"; import {D1Database} from "@cloudflare/workers-types"; -let readonly = false; //set to true to allow maintenance +let readonly = true; //set to true to allow maintenance export class Database { private RawDatabase: D1Database;