mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Fix check criteria.
This commit is contained in:
parent
1141b6b7b0
commit
9aa3946ed4
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue