Skip to content

Rename userId in userSetting to externalUserId #2657

@stalniy

Description

@stalniy

Why

We currently have confusing and inconsistent references around userSetting, caused by the presence/usage of userId inside userSetting.

This is already creating production issues and is likely to keep causing bugs and developer confusion.

What

  1. Investigate what is affected. If there are other tables that point to userId in userSetting, leave this task and refactor those first
  2. Prepare migration to rename userId in userSetting to externalUserId
  3. Run this migration during low usage period

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions