Added Goals fields

This commit is contained in:
ivan-pelly
2026-03-15 09:35:58 -07:00
parent 242b1bce27
commit 53d0539d28
66 changed files with 1322 additions and 329 deletions
+5 -1
View File
@@ -6,7 +6,8 @@ CREATE DEFINER=`root`@`%` PROCEDURE `sp_Goal_Insert`(
IN p_id_user_created CHAR(36),
IN p_description TEXT,
IN p_category VARCHAR(255),
IN p_baseline TEXT
IN p_baseline TEXT,
IN p_target_completion_date DATE
)
BEGIN
INSERT INTO goal
@@ -18,6 +19,7 @@ BEGIN
description,
category,
baseline,
target_completion_date,
created_at,
updated_at
)
@@ -30,6 +32,7 @@ BEGIN
p_description,
p_category,
p_baseline,
p_target_completion_date,
UTC_TIMESTAMP(),
UTC_TIMESTAMP()
);
@@ -41,6 +44,7 @@ BEGIN
description,
category,
baseline,
target_completion_date,
created_at,
updated_at
FROM goal