Skip to content

Commit

Permalink
Add default for senior name
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbar01234 committed Mar 7, 2024
1 parent 2f93e69 commit efd941a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ enum Role {

model Senior {
id String @id @default(auto()) @map("_id") @db.ObjectId
name String
name String @default("")
location String
description String
StudentIDs String[] @db.ObjectId
Expand Down

0 comments on commit efd941a

Please sign in to comment.