refactor: login by email (loginId kept as internal identifier)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE tb_employee ADD CONSTRAINT uq_employee_email UNIQUE (email);
|
||||
|
||||
UPDATE tb_employee SET email = CONCAT(login_id, '@sr-system.com') WHERE email IS NULL OR email = '';
|
||||
Reference in New Issue
Block a user