diff --git a/backend/src/ee/services/pam-resource/mysql/mysql-resource-schemas.ts b/backend/src/ee/services/pam-resource/mysql/mysql-resource-schemas.ts index 5f5a033c3..6c430c9b1 100644 --- a/backend/src/ee/services/pam-resource/mysql/mysql-resource-schemas.ts +++ b/backend/src/ee/services/pam-resource/mysql/mysql-resource-schemas.ts @@ -61,8 +61,7 @@ export const MySQLAccountSchema = BasePamAccountSchema.extend({ export const CreateMySQLAccountSchema = BaseCreatePamAccountSchema.extend({ credentials: MySQLAccountCredentialsSchema, // We don't support pwd rotation for mysql yet - rotationEnabled: z.boolean().optional(), - rotationIntervalSeconds: z.number().optional() + rotationEnabled: z.boolean().default(false) }); export const UpdateMySQLAccountSchema = BaseUpdatePamAccountSchema.extend({