feat(db manual fixes): added a way to fix manual db changes as needed

This commit is contained in:
2025-11-02 16:24:12 -06:00
parent a7bde5e4eb
commit 0b0298423e
2 changed files with 25 additions and 1 deletions

View File

@@ -17,7 +17,10 @@ import { printers } from "./src/internal/ocp/printers/printers.js";
import { setupRoutes } from "./src/internal/routerHandler/routeHandler.js";
import { baseModules } from "./src/internal/system/controller/modules/baseModules.js";
import { baseSettings } from "./src/internal/system/controller/settings/baseSettings.js";
import { addListeners } from "./src/internal/system/utlis/addListeners.js";
import {
addListeners,
manualFixes,
} from "./src/internal/system/utlis/addListeners.js";
import { swaggerOptions } from "./src/pkg/apiDocs/swaggerOptions.js";
import { auth } from "./src/pkg/auth/auth.js";
import { db } from "./src/pkg/db/db.js";
@@ -205,6 +208,9 @@ const main = async () => {
v1Listener();
addListeners();
userMigrate();
// some temp fixes
manualFixes();
}, 5 * 1000);
// start the server up