feat: updated migration to be auto matic

This commit is contained in:
=
2025-02-10 15:46:39 +05:30
parent 8204e970a8
commit 9602b864d4
16 changed files with 133 additions and 78 deletions
+5
View File
@@ -2,6 +2,11 @@ import { Redis } from "ioredis";
import { Redlock, Settings } from "@app/lib/red-lock";
export enum PgSqlLock {
BootUpMigration = 2023,
SuperAdminInit = 2024
}
export type TKeyStoreFactory = ReturnType<typeof keyStoreFactory>;
// all the key prefixes used must be set here to avoid conflict