disable migrations

This commit is contained in:
miloschwartz
2025-06-16 15:23:28 -04:00
parent 6cdf53e262
commit 72d8ad3204
2 changed files with 8 additions and 0 deletions

View File

@@ -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;

View File

@@ -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;