remove default from rotationIntervalSeconds

This commit is contained in:
x032205
2025-10-21 14:54:05 -04:00
parent df069cbd5b
commit 407a7e6075

View File

@@ -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();
});
}