kir-dev / kir-dev/pek-infinity

Profile changes to comply

Open
#80 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

https://github.com/kir-dev/pek-infinity/blob/f3b8b8885b59930cdc28b49972de4210a05d69ab/prisma/models/profile.prisma#L1

## For egyesület

### Needs new fields:

* [ ] Birth last name
* [ ] Birth first name
* [ ] Mother's birth name
* [ ] Place of birth
* [ ] Date of birth
* [ ] Permanent address
* [ ] Email address
* [x] Status of studies (already has it as studentStatus)

People outside egyesület won't need to fill these so they can be nullable.

### Field changes:

* [ ] Gender is never important, we won't ever need to know, we can get rid of it.
* [ ] StudentStatus is an enum that can be either ACTIVE, GRADUATED, OTHER or UNKNOWN, we won't need to know if they finished school (like ever). So we can keep it ACTIVE, INACTIVE, UNKNOWN.

Other important stuff in the sub-issues below.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked prisma/models/profile.prisma file and inspect the Profile model and its existing studentStatus field. Update the profile schema to represent the requested nullable personal fields, remove gender, and adjust studentStatus to the specified values; done means all checklist items are reflected in the schema.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.