refs #6427 feat: copy phone from vn.client
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javier Segarra 2024-03-18 14:58:33 +01:00
parent fa63efd42b
commit 6a47493180
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
-- Actualiza los valores de la nueva columna con los valores correspondientes de la tabla userInfo
UPDATE `account`.`user` as `user`
JOIN vn.client `client` ON `user`.id = `client`.id
SET `user`.recoveryPhone = `client`.phone;