diff --git a/src/sql/0-run-first/contributions.sql b/src/sql/0-run-first/contributions.sql index e56baf2..a07eec0 100644 --- a/src/sql/0-run-first/contributions.sql +++ b/src/sql/0-run-first/contributions.sql @@ -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'; \ No newline at end of file