Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Fix check criteria.

Mike Cao9aa3946ed47d
diff --git a/scripts/check-db.js b/scripts/check-db.js
index 85e92d7b1..7976c89bd 100644
--- a/scripts/check-db.js
+++ b/scripts/check-db.js
@@ -59,7 +59,7 @@ async function run(cmd, args) {
async function checkMigrations() {
const output = await run('prisma', ['migrate', 'status']);
- const missingMigrations = output.includes('Following migration have not yet been applied');
+ const missingMigrations = output.includes('have not yet been applied');
const notManaged = output.includes('The current database is not managed');
if (notManaged || missingMigrations) {