Skip to content

Commit

Permalink
Merge pull request #1519 from cityofaustin/20178_update_atd_product_o…
Browse files Browse the repository at this point in the history
…wner_role_to_tpw

updates_atd_project_owner_to_tpw_project_owner
  • Loading branch information
mddilley authored Jan 16, 2025
2 parents a5bb507 + c0c01d1 commit 3365e3a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
INSERT INTO moped_project_roles (project_role_id, project_role_name, active_role, role_order, project_role_description)
VALUES (0, 'Unknown', TRUE, 999, 'Unknown Role');

UPDATE moped_project_roles
SET project_role_description = 'Supervises contractor activities for approval before invoicing; accepts work on behalf of ATD and coordinates with other divisions'
WHERE project_role_id = 12;

UPDATE moped_project_roles
SET project_role_name = 'ATD Project Owner'
WHERE project_role_id = 5;
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
UPDATE moped_project_roles
SET project_role_name = 'TPW Project Owner'
WHERE project_role_id = 5;

UPDATE moped_project_roles
SET project_role_description = 'Supervises contractor activities for approval before invoicing; accepts work on behalf of TPW and coordinates with other divisions'
WHERE project_role_id = 12;

DELETE FROM moped_project_roles
WHERE project_role_id = 0;
2 changes: 1 addition & 1 deletion moped-editor/src/queries/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export const TEAM_QUERY = gql`
}
moped_project_roles(
order_by: { project_role_name: asc }
where: { project_role_id: { _gt: 0 }, active_role: { _eq: true } }
where: { active_role: { _eq: true } }
) {
project_role_id
project_role_name
Expand Down

0 comments on commit 3365e3a

Please sign in to comment.