Added short name to benchmarks

This commit is contained in:
ivan-pelly
2026-03-14 18:54:28 -07:00
parent f431fb3e94
commit 242b1bce27
21 changed files with 227 additions and 22 deletions
@@ -3,7 +3,8 @@ CREATE DEFINER=`root`@`%` PROCEDURE `sp_Benchmark_Insert`(
IN p_id_benchmark CHAR(36),
IN p_id_goal CHAR(36),
IN p_id_user_created CHAR(36),
IN p_benchmark TEXT
IN p_benchmark TEXT,
IN p_short_name VARCHAR(50)
)
BEGIN
INSERT INTO benchmark
@@ -12,6 +13,7 @@ BEGIN
id_goal,
id_user_created,
benchmark,
short_name,
created_at,
updated_at
)
@@ -21,6 +23,7 @@ BEGIN
p_id_goal,
p_id_user_created,
p_benchmark,
p_short_name,
UTC_TIMESTAMP(),
NULL
);
@@ -29,6 +32,7 @@ BEGIN
id_goal,
id_user_created,
benchmark,
short_name,
created_at,
updated_at
FROM benchmark