greptile review fixes

This commit is contained in:
x032205
2025-09-05 00:16:36 -04:00
parent 0c9ade33dd
commit ab2146367c
8 changed files with 25 additions and 11 deletions
@@ -198,7 +198,11 @@ export async function down(knex: Knex): Promise<void> {
.merge();
}
await knex(TableName.AuditLogStream).whereNot("provider", "custom").orWhereNull("url").del();
await knex(TableName.AuditLogStream)
.where((qb) => {
void qb.whereNot("provider", "custom").orWhereNull("url");
})
.del();
await knex.schema.alterTable(TableName.AuditLogStream, (t) => {
t.string("url").notNullable().alter();