mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 08:27:53 +00:00
fix(pg-migrator): added uuid 0000 for admin config
This commit is contained in:
@@ -532,9 +532,8 @@ const main = async () => {
|
|||||||
postgresTableName: TableName.SuperAdmin,
|
postgresTableName: TableName.SuperAdmin,
|
||||||
returnKeys: ["id"],
|
returnKeys: ["id"],
|
||||||
preProcessing: async (doc) => {
|
preProcessing: async (doc) => {
|
||||||
const id = uuidV4();
|
|
||||||
return {
|
return {
|
||||||
id,
|
id: "00000000-0000-0000-0000-000000000000",
|
||||||
allowSignUp: doc.allowSignUp,
|
allowSignUp: doc.allowSignUp,
|
||||||
initialized: doc.initialized,
|
initialized: doc.initialized,
|
||||||
createdAt: new Date((doc as any).createdAt),
|
createdAt: new Date((doc as any).createdAt),
|
||||||
|
|||||||
Reference in New Issue
Block a user