Skip to content

removed coop and intern from role names#464

Open
gpalmer27 wants to merge 2 commits into
mainfrom
delete-coop-and-intern
Open

removed coop and intern from role names#464
gpalmer27 wants to merge 2 commits into
mainfrom
delete-coop-and-intern

Conversation

@gpalmer27

Copy link
Copy Markdown
Collaborator

Description

see title

created a script that devs can run in their local environments and that we can run in prod + staging to delete the existing bad entries

added a check so people can no longer add 'coop' or 'intern' or variants of that

Motivation and Context

Closes #455

How has this been tested?

my eyes

Screenshots (if appropriate):

Screenshot 2026-06-22 at 5 34 23 PM Screenshot 2026-06-22 at 5 51 49 PM

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Database migration
    • Ran pnpm db:generate and verified generated SQL migration files in packages/db/drizzle

Checklist:

  • My code follows the code style of this project.
  • I have moved the ticket to "In Review"
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cooper Ready Ready Preview, Comment Jun 22, 2026 10:00pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
cooper-auth Skipped Skipped Jun 22, 2026 10:00pm
cooper-docs Skipped Skipped Jun 22, 2026 10:00pm

Request Review

@gpalmer27

gpalmer27 commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator Author

@songmichael11 just adding this comment so i don't forget, before / right after this is merged, one of us should run the script on staging + prod db

Comment thread packages/db/package.json

@songmichael11 songmichael11 Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

so like should devs just run pnpm db:strip-role-keywords then? does this apply the changes cause wouldn't you need the --apply instead of just pnpm with-env tsx src/scripts/strip-role-keywords.ts

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

pnpm strip-role-keywords --apply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete "co-op" and "intern" from role names

2 participants