Greptile review fixes

This commit is contained in:
x032205
2025-08-26 03:20:59 -04:00
parent 89aeda017a
commit f732028290
4 changed files with 3 additions and 4 deletions
@@ -9,7 +9,7 @@ export async function up(knex: Knex): Promise<void> {
const hasLockoutDuration = await knex.schema.hasColumn(TableName.IdentityUniversalAuth, "lockoutDuration");
const hasLockoutCounterReset = await knex.schema.hasColumn(TableName.IdentityUniversalAuth, "lockoutCounterReset");
await knex.schema.alterTable(TableName.IdentityUniversalAuth, async (t) => {
await knex.schema.alterTable(TableName.IdentityUniversalAuth, (t) => {
if (!hasLockoutEnabled) {
t.boolean("lockoutEnabled").notNullable().defaultTo(true);
}