From 01cf9697d2ed4bf9fd46febff28c32ecfb31db39 Mon Sep 17 00:00:00 2001 From: dtookey Date: Wed, 20 Apr 2022 12:57:38 -0400 Subject: [PATCH] tweaked column names. hope this doesn't bite me --- src/sql/0-run-first/contributions.sql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/sql/0-run-first/contributions.sql b/src/sql/0-run-first/contributions.sql index 752ddd2..d6f7d6f 100644 --- a/src/sql/0-run-first/contributions.sql +++ b/src/sql/0-run-first/contributions.sql @@ -5,9 +5,9 @@ DROP TABLE IF EXISTS engineer_contributions; CREATE TABLE engineer_contributions AS SELECT CONCAT(users.lname, ', ', users.fname) AS `Engineer`, - project_lifecycle.project_number AS `Project Number`, + project_lifecycle.project_number AS `ProjectNumber`, project_lifecycle.timestamp, - new_value AS `Action Type`, + new_value AS `ActionType`, CONCAT(SUBSTR(project_lifecycle.project_number, 1, 3), ' - ', IF(ap.proj_type = 'Warranty', 'Structural', ap.proj_type)) AS `Region`, clients.name AS `Client`, @@ -45,10 +45,10 @@ DROP TABLE IF EXISTS rdu_soil_contributions; CREATE TABLE rdu_soil_contributions AS -SELECT CONCAT(users.email) AS `Technician Email`, - project_lifecycle.project_number AS `Project Number`, +SELECT CONCAT(users.email) AS `Technician`, + project_lifecycle.project_number AS `ProjectNumber`, project_lifecycle.timestamp, - new_value AS `Action Type`, + new_value AS `ActionType`, 'RDU - Soil' AS `Region`, clients.name AS `Client`, ap.description AS `Description`