Renamed some of the goal fields to align with business logic

This commit is contained in:
ivan-pelly
2026-03-14 16:30:17 -07:00
parent 7f91e2e557
commit 4d9b83c327
50 changed files with 279 additions and 149 deletions
@@ -0,0 +1,15 @@
DELIMITER ;;
CREATE DEFINER=`root`@`%` PROCEDURE `sp_User_SetPassword`(
IN p_id_user CHAR(36),
IN p_password_hash VARCHAR(255),
IN p_password_salt VARCHAR(255)
)
BEGIN
UPDATE user
SET password_hash = p_password_hash,
password_salt = p_password_salt,
password_updated_at = UTC_TIMESTAMP()
WHERE id_user = p_id_user;
SELECT ROW_COUNT() AS rows_affected;
END;;
DELIMITER ;