Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

remove default from rotationIntervalSeconds

x032205407a7e60758c
diff --git a/backend/src/db/migrations/20251015042917_pam-account-rotation.ts b/backend/src/db/migrations/20251015042917_pam-account-rotation.ts
index cd9a7d19a9..eee9fd1fdd 100644
--- a/backend/src/db/migrations/20251015042917_pam-account-rotation.ts
+++ b/backend/src/db/migrations/20251015042917_pam-account-rotation.ts
@@ -10,7 +10,7 @@ export async function up(knex: Knex): Promise<void> {
) {
await knex.schema.alterTable(TableName.PamAccount, (t) => {
t.boolean("rotationEnabled").notNullable().defaultTo(false);
- t.integer("rotationIntervalSeconds").notNullable().defaultTo(2592000);
+ t.integer("rotationIntervalSeconds").notNullable();
t.timestamp("lastRotatedAt").nullable();
});
}