Skip to content

Convert project role column to enum - #3877

Merged
josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:project-role-enum
Jul 29, 2026
Merged

Convert project role column to enum#3877
josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:project-role-enum

Conversation

@williamjallen

Copy link
Copy Markdown
Collaborator

The project role is currently represented as an integer, with constants in app code to refer to magic integer values. This PR converts the project role column to an enum type so there's no confusion about what the valid values are. This will be particularly important for my upcoming PR which will add another table which references the project role.

The project role is currently represented as an integer, with constants in app code to refer to magic integer values.  This PR converts the project role column to an enum type so there's no confusion about what the valid values are.  This will be particularly important for my upcoming PR which will add another table which references the project role.

@josephsnyder josephsnyder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@josephsnyder
josephsnyder added this pull request to the merge queue Jul 29, 2026
Merged via the queue into Kitware:master with commit 8c10251 Jul 29, 2026
13 of 14 checks passed
@williamjallen
williamjallen deleted the project-role-enum branch July 29, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants