Merge pull request #1494 from akhilmhdh/fix/migration-admin-bug

fix(pg-migrator): added uuid 0000 for admin config
This commit is contained in:
Maidul Islam
2024-02-29 10:57:26 -05:00
committed by GitHub
+1 -2
View File
@@ -532,9 +532,8 @@ const main = async () => {
postgresTableName: TableName.SuperAdmin,
returnKeys: ["id"],
preProcessing: async (doc) => {
const id = uuidV4();
return {
id,
id: "00000000-0000-0000-0000-000000000000",
allowSignUp: doc.allowSignUp,
initialized: doc.initialized,
createdAt: new Date((doc as any).createdAt),