fix(pg-migrator): added uuid 0000 for admin config

This commit is contained in:
Akhil Mohan
2024-02-29 15:38:45 +05:30
parent cde8cef8b0
commit eb29d1dc28

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),