add migration for statusWindowThreshold

This commit is contained in:
Alex Holliday committed 2025-08-30 16:07:03 -07:00
1 parent e7006a4a44
commit 652d231771
3 files changed
+28 -1

No files matched your search

+3 -1
View File
@@ -1,6 +1,6 @@
import mongoose from "mongoose";
import AppSettings from "../models/AppSettings.js";
import { runMigrations } from "./migration/index.js";
class MongoDB {
static SERVICE_NAME = "MongoDB";
@@ -65,6 +65,8 @@ class MongoDB {
service: this.SERVICE_NAME,
method: "connect",
});
await runMigrations();
} catch (error) {
this.logger.error({
message: error.message,