Skip to content

Commit

Permalink
🗃️ Add coder role
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasGruber committed Jan 28, 2025
1 parent a4f7cb8 commit 697b6d4
Show file tree
Hide file tree
Showing 5 changed files with 7,631 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/drizzle/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export const UserRoles = [
"JR_MODERATOR",
"CONTENT",
"EVENT",
"CODER",
] as const;
export type UserRole = (typeof UserRoles)[number];

Expand Down
1 change: 1 addition & 0 deletions app/drizzle/migrations/0188_little_oracle.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `UserData` MODIFY COLUMN `role` enum('USER','CODING-ADMIN','CONTENT-ADMIN','MODERATOR-ADMIN','HEAD_MODERATOR','MODERATOR','JR_MODERATOR','CONTENT','EVENT','CODER') NOT NULL DEFAULT 'USER';
Loading

0 comments on commit 697b6d4

Please sign in to comment.