From 9aa3946ed47dfe34c02c656460e4674058c258d2 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Mon, 27 Jun 2022 23:00:14 -0700 Subject: [PATCH] Fix check criteria. --- scripts/check-db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-db.js b/scripts/check-db.js index 85e92d7b..7976c89b 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) {