mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Added SKIP_DB_MIGRATION var.
This commit is contained in:
parent
05db1a8ba2
commit
9a87442870
1 changed files with 4 additions and 2 deletions
|
|
@ -82,9 +82,11 @@ async function checkV1Tables() {
|
|||
}
|
||||
|
||||
async function applyMigration() {
|
||||
if (!process.env.SKIP_DB_MIGRATION) {
|
||||
console.log(execSync('prisma migrate deploy').toString());
|
||||
|
||||
success('Database is up to date.');
|
||||
}
|
||||
}
|
||||
|
||||
(async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue