Skip to content

Commit

Permalink
Updated Membership schema
Browse files Browse the repository at this point in the history
  • Loading branch information
EricSvebakk committed Oct 30, 2024
1 parent 1aa49ba commit ba44ddf
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -287,19 +287,13 @@ model UserMembership {
user_id String? @db.VarChar(50)
uio_username String? @db.VarChar(15)
date_lifetime DateTime? @db.DateTime(0)
comments String? @db.Text
comment String? @db.Text
last_edited_by_id Int?
Semester Semester @relation(fields: [semester_id], references: [id], onDelete: NoAction, onUpdate: NoAction, map: "UserMembership_semester")
@@index([semester_id], map: "UserMembership_semester_idx")
}

model memberLog {
id String @id
name String? @db.VarChar(45)
year Int?
}

model Semester {
id Int @id
semester String? @db.VarChar(45)
Expand Down

0 comments on commit ba44ddf

Please sign in to comment.