mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 05:27:48 +00:00
remove default from rotationIntervalSeconds
This commit is contained in:
@@ -10,7 +10,7 @@ export async function up(knex: Knex): Promise<void> {
|
|||||||
) {
|
) {
|
||||||
await knex.schema.alterTable(TableName.PamAccount, (t) => {
|
await knex.schema.alterTable(TableName.PamAccount, (t) => {
|
||||||
t.boolean("rotationEnabled").notNullable().defaultTo(false);
|
t.boolean("rotationEnabled").notNullable().defaultTo(false);
|
||||||
t.integer("rotationIntervalSeconds").notNullable().defaultTo(2592000);
|
t.integer("rotationIntervalSeconds").notNullable();
|
||||||
t.timestamp("lastRotatedAt").nullable();
|
t.timestamp("lastRotatedAt").nullable();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user