From 31ce34da771fb6372e87e8416fbb0fe10f3310bc Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Mon, 7 Oct 2024 18:56:07 +0800 Subject: [PATCH] wip --- server/database.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/database.js b/server/database.js index 55dce6a47..75093b2f5 100644 --- a/server/database.js +++ b/server/database.js @@ -767,6 +767,7 @@ class Database { let count = countResult[0].count; if (count > 0) { log.warn("db", `Aggregate table ${table} is not empty, migration will not be started (Maybe you were using 2.0.0-dev?)`); + trx.commit(); return; } }