Added a review_contributions table for the different reviewed statuses

master
dtookey 2 years ago
parent 08e3aaafe3
commit e37c1e3a34

@ -131,9 +131,7 @@ SELECT CONCAT(users.email) AS `Technician`,
project_lifecycle.project_number AS `ProjectNumber`,
Date(project_lifecycle.timestamp) as `DateStamp`,
new_value AS `ActionType`,
SUBSTR(project_lifecycle.project_number, 0, 3) AS `Region`,
clients.name AS `Client`,
ap.description AS `Description`
SUBSTR(project_lifecycle.project_number, 0, 3) AS `Region`
FROM users
INNER JOIN project_lifecycle ON pkey = modifier
INNER JOIN projects ap on project_lifecycle.project_number = ap.refnum
@ -160,3 +158,6 @@ WHERE id IN (SELECT bad_rows.id
ALTER TABLE review_contributions
DROP COLUMN IF EXISTS id;
UPDATE review_contributions set ActionType = 'Initial Review Ready' where ActionType = '+READY_FOR_REVIEW';
UPDATE review_contributions set ActionType = 'Final Review Ready' where ActionType = '+READY_FOR_REVIEW2';
Loading…
Cancel
Save