SQL-Migrationen fuer LDAP-Kopplungsfelder (ldap_uid, ldap_synced_at, ldap_source) in user_migration_map und der Tenant-users-Tabelle. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
10 lines
493 B
SQL
10 lines
493 B
SQL
-- COR-04: LDAP-Kopplungsfelder in der Benutzer-Migrations-Map, erweitert
|
|
-- COR-02 (user_migration_map). ldap_uid/ldap_synced_at in archivdms-Tiefe
|
|
-- (Zielschema), ldap_source fuer archivmail-Konten mit nur einfachem
|
|
-- Quellhinweis -- alle drei nullable, da LDAP-Bezug optional ist und
|
|
-- unvollstaendige Angaben die Migration nicht blockieren duerfen.
|
|
ALTER TABLE user_migration_map
|
|
ADD COLUMN ldap_uid TEXT,
|
|
ADD COLUMN ldap_synced_at TIMESTAMPTZ,
|
|
ADD COLUMN ldap_source TEXT;
|