boolean-uk / team-dev-server-ex-2410-team3

0 stars 0 forks source link

Update user to include "specialism" #36

Open sebgro98 opened 3 hours ago

sebgro98 commented 3 hours ago

Update User to include specialism. The model will look like this:

´´´´ model User { id Int @id @default(autoincrement()) email String @unique password String role Role @default(STUDENT) specialism String @default("") cohortId Int? cohorts Cohort[] posts Post[] comments Comment[] deliveryLogs DeliveryLog[] }

´´´

sebgro98 commented 3 hours ago

Approved

amos1969 commented 2 hours ago

Are the API Spec, Seeds etc going to be updated as part of this issue or will they have their own Issues?