This commit is contained in:
Louis Lam 2024-10-07 18:56:07 +08:00
parent 7f1042976b
commit 31ce34da77

View file

@ -767,6 +767,7 @@ class Database {
let count = countResult[0].count; let count = countResult[0].count;
if (count > 0) { 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?)`); 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; return;
} }
} }