mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 10:05:53 +02:00
disable migrations
This commit is contained in:
parent
6cdf53e262
commit
72d8ad3204
2 changed files with 8 additions and 0 deletions
|
@ -24,6 +24,10 @@ async function run() {
|
|||
}
|
||||
|
||||
export async function runMigrations() {
|
||||
if (process.env.DISABLE_MIGRATIONS) {
|
||||
console.log("Migrations are disabled. Skipping...");
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const appVersion = APP_VERSION;
|
||||
|
||||
|
|
|
@ -74,6 +74,10 @@ function backupDb() {
|
|||
}
|
||||
|
||||
export async function runMigrations() {
|
||||
if (process.env.DISABLE_MIGRATIONS) {
|
||||
console.log("Migrations are disabled. Skipping...");
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const appVersion = APP_VERSION;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue