Skip to content

Commit

Permalink
Added female options to titles enum in DB and constants.ts
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Hendrik Scheufen <j.h.scheufen@gmail.com>
  • Loading branch information
j-h-scheufen committed Oct 3, 2024
1 parent d7beb6f commit 1571480
Show file tree
Hide file tree
Showing 4 changed files with 420 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/app/config/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@ import { LinkType } from '@/db/schema';

export const titles = [
'mestre',
'mestra',
'contra-mestre',
'contra-mestra',
'mestrando',
'mestranda',
'professor',
'professora',
'instrutor',
'instrutora',
'monitor',
'aluno-graduado',
'monitora',
'aluno',
'aluna',
'iniciante',
] as const;

Expand Down
7 changes: 7 additions & 0 deletions packages/app/db/migrations/0009_narrow_pepper_potts.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ALTER TYPE "title" ADD VALUE 'mestra';--> statement-breakpoint
ALTER TYPE "title" ADD VALUE 'contra-mestra';--> statement-breakpoint
ALTER TYPE "title" ADD VALUE 'mestranda';--> statement-breakpoint
ALTER TYPE "title" ADD VALUE 'professora';--> statement-breakpoint
ALTER TYPE "title" ADD VALUE 'instrutora';--> statement-breakpoint
ALTER TYPE "title" ADD VALUE 'monitora';--> statement-breakpoint
ALTER TYPE "title" ADD VALUE 'aluna';
Loading

0 comments on commit 1571480

Please sign in to comment.