fix: non LDAP users get created with a empty LDAP ID string

This commit is contained in:
Elias Schneider
2025-01-20 10:27:36 +01:00
parent 715040ba04
commit 3f02d08109
6 changed files with 16 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
UPDATE users SET ldap_id = '' WHERE ldap_id IS NULL;
UPDATE user_groups SET ldap_id = '' WHERE ldap_id IS NULL;

View File

@@ -0,0 +1,2 @@
UPDATE users SET ldap_id = null WHERE ldap_id = '';
UPDATE user_groups SET ldap_id = null WHERE ldap_id = '';