mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 05:37:20 +01:00
add warning message during data transfer
This commit is contained in:
parent
c24f8cb985
commit
3cf0617366
2 changed files with 6 additions and 3 deletions
|
|
@ -63,6 +63,9 @@ async function checkV2Tables() {
|
|||
await runSqlFile('../prisma/migrations/01_init/migration.sql');
|
||||
console.log(execSync('prisma migrate resolve --applied 01_init').toString());
|
||||
console.log(execSync('prisma migrate deploy').toString());
|
||||
console.log(
|
||||
'Starting v2 data migration. Please do no cancel this process, it may take a while.',
|
||||
);
|
||||
await runSqlFile('../db/postgresql/migration_v2.sql');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue