mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-27 04:35:16 +01:00
06715af303
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='' |