Skip to content

Clean up duplicate account merge script #1897

@JackHaeg

Description

@JackHaeg

Overview

The PR (#1612) needs to union any existing arrays instead of appending them. There are multiple .push uses to arrays that might result in containing duplicate information:

  • skillsToMatch
  • projects
  • managedProjects
    Using a set will solve this problem.

Action Items

  • Switch from using array .push to a set for:
    • skillsToMatch
    • projects
    • managedProjects
  • Preserve the highest user access level
    • admin > user
  • Implement script as python notebook so that changes can be made incrementally
  • Submit PR
  • Merge accepted PR into the feature branch: correct-db-casing

Resources/Instructions

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions