feat(260728-lih): default LDAP syncIntervalMin to 0 (auto-sync off)

- LdapConfig.syncIntervalMin default changed 60 -> 0
- New migration sets column DEFAULT only, no data rewrite
- isActive @default(true) left unchanged (gates LDAP login only)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-28 15:40:28 +02:00
parent 7e5a6a6e01
commit c54e424c05
2 changed files with 3 additions and 1 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "LdapConfig" ALTER COLUMN "syncIntervalMin" SET DEFAULT 0;
+1 -1
View File
@@ -67,7 +67,7 @@ model LdapConfig {
bindDn String?
bindPassword String?
searchFilter String @default("(objectClass=person)")
syncIntervalMin Int @default(60)
syncIntervalMin Int @default(0)
isActive Boolean @default(true)
tlsRejectUnauthorized Boolean @default(true)
groupFilterDns String[] @default([])