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
+5 -5
View File
@@ -4,9 +4,9 @@ CREATE DEFINER=`root`@`%` PROCEDURE `sp_Goal_Insert`(
IN p_id_goal_parent CHAR(36),
IN p_id_student CHAR(36),
IN p_id_user_created CHAR(36),
IN p_title VARCHAR(255),
IN p_description TEXT,
IN p_category VARCHAR(100)
IN p_category VARCHAR(255),
IN p_baseline TEXT
)
BEGIN
INSERT INTO goal
@@ -15,9 +15,9 @@ BEGIN
id_goal_parent,
id_student,
id_user_created,
title,
description,
category,
baseline,
created_at,
updated_at
)
@@ -27,9 +27,9 @@ BEGIN
p_id_goal_parent,
p_id_student,
p_id_user_created,
p_title,
p_description,
p_category,
p_baseline,
UTC_TIMESTAMP(),
UTC_TIMESTAMP()
);
@@ -38,9 +38,9 @@ BEGIN
id_goal_parent,
id_student,
id_user_created,
title,
description,
category,
baseline,
created_at,
updated_at
FROM goal