Skip to content

Commit aa95e31

Browse files
committed
revert schema change
1 parent 217eea1 commit aa95e31

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/backend/src/prisma/schema.prisma

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ model Vendor {
779779
organizationId String
780780
organization Organization @relation(fields: [organizationId], references: [organizationId])
781781
username String?
782-
password String? // password is encrypted
782+
password String? // password is encrypted
783783
discountCode String?
784784
twoFactorContacts User[] @relation(name: "twoFactorContactVendors")
785785
notes String?
@@ -1088,7 +1088,7 @@ model Event {
10881088
shops Shop[]
10891089
machinery Machinery[]
10901090
workPackages Work_Package[]
1091-
documents Document[]
1091+
documents Document[]
10921092
status Event_Status
10931093
initialDateScheduled DateTime?
10941094
questionDocumentLink String?
@@ -1174,6 +1174,7 @@ model Availability {
11741174
// Availibilies are integers between 0 and 11 from 10am - 10pm for a given day at hour intervals see meetingTime field in Design_Review
11751175
availability Int[]
11761176
dateSet DateTime
1177+
11771178
@@index([scheduleSettingsId])
11781179
}
11791180

@@ -1228,7 +1229,7 @@ model Project_Proposed_Changes {
12281229

12291230
model Work_Package_Proposed_Changes {
12301231
workPackageProposedChangesId String @id @default(uuid())
1231-
startDate DateTime
1232+
startDate DateTime @db.Date
12321233
duration Int
12331234
blockedBy WBS_Element[] @relation(name: "proposedBlockedBy")
12341235
stage Work_Package_Stage?

0 commit comments

Comments
 (0)