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 Table: User #429

Open
8 tasks
ExperimentsInHonesty opened this issue Nov 4, 2024 · 7 comments
Open
8 tasks

Update Table: User #429

ExperimentsInHonesty opened this issue Nov 4, 2024 · 7 comments
Labels
feature: update table good first issue Good for newcomers role: back end s: CTJ stakeholder: Civic Tech Jobs s: kb stakeholder: knowledgebase s: VRMS stakeholder: VRMS size: 0.25pt Can be done in 0.5-1.5 hours time sensitive

Comments

@ExperimentsInHonesty
Copy link
Member

ExperimentsInHonesty commented Nov 4, 2024

Overview

We need to update the User table model to include new fields and have the correct names for fields.

Details

Action Items

Update existing Django model

  • In the files indicated by Resource 1.01, Change the following items in the code
Current name in code Updated Name Updated Type (may already be this type)
current_job_title job_title_current_intake varchar
email email_intake EmailField
first_name name_first varchar
gmail email_gmail EmailField
is_active user_status_id int
last_name name_last varchar
preferred_email email_preferred EmailField
target_job_title job_title_target_intake varchar
  • Add the following items in the code
Name Type
practice_area_primary int (practice_area_primary)
practice_area_secondary int[] (practice_area_secondary)
practice_area_target_intake int[] (practice_area_target_intake)
referred_by int
email_cognito EmailField
  • 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
  • generate a schema table definition and post it in a comment below and add a link to it in the Update Schema dependency issue.
  • Document the endpoint in ReDocs

After PR has been approved

Resources

@github-project-automation github-project-automation bot moved this to 🆕New Issue Review in P: PD: Project Board Nov 4, 2024
@ExperimentsInHonesty ExperimentsInHonesty added the draft This issue is not fully-written label Nov 4, 2024
@ExperimentsInHonesty ExperimentsInHonesty added s: CTJ stakeholder: Civic Tech Jobs s: VRMS stakeholder: VRMS s: kb stakeholder: knowledgebase and removed stakeholder: missing milestone: missing labels Nov 4, 2024
@ExperimentsInHonesty ExperimentsInHonesty changed the title Update Table: [TABLE NAME] Update Table: User Nov 5, 2024
@ExperimentsInHonesty ExperimentsInHonesty added time sensitive and removed complexity: missing draft This issue is not fully-written labels Nov 11, 2024
@fyliu

This comment was marked as outdated.

@shmonks shmonks added the draft This issue is not fully-written label Nov 15, 2024
@shmonks shmonks moved this from 📋Prioritized Backlog to 🆕New Issue Review in P: PD: Project Board Nov 15, 2024
@shmonks

This comment was marked as outdated.

@shmonks

This comment was marked as resolved.

@fyliu

This comment was marked as resolved.

@ExperimentsInHonesty

This comment was marked as resolved.

@fyliu

This comment was marked as resolved.

@fyliu

This comment was marked as resolved.

@ExperimentsInHonesty ExperimentsInHonesty removed the draft This issue is not fully-written label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: update table good first issue Good for newcomers role: back end s: CTJ stakeholder: Civic Tech Jobs s: kb stakeholder: knowledgebase s: VRMS stakeholder: VRMS size: 0.25pt Can be done in 0.5-1.5 hours time sensitive
Projects
Status: 📋Prioritized Backlog
Development

No branches or pull requests

3 participants