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

Update moped_workgroup to reflect reorganization #19854

Closed
mddilley opened this issue Nov 11, 2024 · 0 comments · Fixed by cityofaustin/atd-moped#1515
Closed

Update moped_workgroup to reflect reorganization #19854

mddilley opened this issue Nov 11, 2024 · 0 comments · Fixed by cityofaustin/atd-moped#1515
Assignees
Labels
Product: Moped A comprehensive mobility project tracking platform for Austin, Texas Service: Dev Infrastructure and engineering Type: Tech Debt Code or processes that require more work to optimize sustainability, performance, etc. Workgroup: TPW Transportation & Public Works Department

Comments

@mddilley
Copy link

mddilley commented Nov 11, 2024

To reflect the reorganization in the workgroup table, we need to update the lookups to reflect the changes like Sidewalks and Special Projects merging with Urban Trails. Here is the SchemaSpy page to see the table relationships - https://db-docs.austinmobility.io/atd-moped-production/tables/moped_workgroup.html.

In Scope

  • Add is_deleted to moped_workgroup table (default = false)
  • Soft delete existing Sidewalks and Urban Trails rows in this table
  • Create a new row called Sidewalks and Urban Trails
    • abbreviation = SUTD
    • department_id is the id that has name Austin Transportation and Public Works in moped_department
  • Update existing moped_users records that have workgroup_id set to either the ids for Sidewalks or Urban Trails to be the id for the new Sidewalks and Urban Trails workgroup id
  • Filter soft-deleted workgroups in the app (Staff view and any other views)
@mddilley mddilley added Workgroup: TPW Transportation & Public Works Department Service: Dev Infrastructure and engineering Product: Moped A comprehensive mobility project tracking platform for Austin, Texas Type: Tech Debt Code or processes that require more work to optimize sustainability, performance, etc. labels Nov 11, 2024
@mddilley mddilley self-assigned this Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Product: Moped A comprehensive mobility project tracking platform for Austin, Texas Service: Dev Infrastructure and engineering Type: Tech Debt Code or processes that require more work to optimize sustainability, performance, etc. Workgroup: TPW Transportation & Public Works Department
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant