Show percentages for original and corrected points

This commit is contained in:
Wojtek
2026-10-15 21:39:34 +02:00
parent 987373b565
commit 301f322017
7 changed files with 19 additions and 3 deletions
@@ -0,0 +1,6 @@
ALTER TABLE `#__testquestions_results`
ADD COLUMN `points_total` int unsigned NOT NULL DEFAULT 0 AFTER `percentage`;
UPDATE `#__testquestions_results`
SET `points_total` = `total_count`
WHERE `points_total` = 0;