mirror of
https://github.com/goharbor/harbor.git
synced 2024-08-26 14:03:27 +02:00
Define user.Email as sql.NullString to avoid unique constraint when email is empty in LDAP/OIDC Separate the common/models/User with the pkg/user/dao/User Fixes #10400 Signed-off-by: stonezdj <stonezdj@gmail.com>
1 line
48 B
SQL
1 line
48 B
SQL
UPDATE harbor_user SET email=NULL WHERE email='' |