Skip to content

Update Table: user (replace role association with practice area) #172

Open
@Neecolaa

Description

@Neecolaa

Dependency

Overview

We need to update the user table model to utilize the practice area table instead of the outdated role table.

Details

Discussion leading to this change is here: #170

Action Items

  • Update schema information
  • Update existing Django model
  • Write a test for the new relationships this model will have with other models (e.g., creating a user and assigning them a set of permissions on a project) if any.
  • Update API end point
  • Update API unit tests
  • Document the endpoint in Swagger

Changes Needed

Columns to Remove

  • desired_roles - varchar
  • practice_area_current - int (practice_area_id)

Columns to Add

Additional Changes

  • Remove relationship between user and role tables (table spreadsheet & ERD)
  • Add relationship between user and practice_area (table spreadsheet & ERD)

Resources

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    🧊Ice Box

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions