feat(db manual fixes): added a way to fix manual db changes as needed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user