Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates_atd_project_owner_to_tpw_project_owner #1519

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -204,7 +204,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
Loading