Skip to content

Commit

Permalink
schema fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DCRepublic committed Nov 6, 2024
1 parent 992d898 commit f1df0b5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions app/calendar/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export default async function CalendarPage() {
courseReferenceNumber: num,
},
});

output.push({
classNames: "font-sans",
textColor: "white",
Expand All @@ -58,13 +59,13 @@ export default async function CalendarPage() {
],

startTime:
meetingTimes?.beginTime?.slice(0, 2) +
meetingTimes?.beginTime.slice(0, 2) +
":" +
meetingTimes?.beginTime?.slice(2),
meetingTimes?.beginTime.slice(2),
endTime:
meetingTimes?.endTime?.slice(0, 2) +
meetingTimes?.endTime.slice(0, 2) +
":" +
meetingTimes?.endTime?.slice(2),
meetingTimes?.endTime.slice(2),
});
}
}
Expand Down
4 changes: 2 additions & 2 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ model MeetingsFaculty {

model MeetingTime {
id Int @id @default(autoincrement())
beginTime String?
beginTime String
building String
buildingDescription String
room String
category String
courseReferenceNumber String @unique
endDate String
endTime String?
endTime String
startDate String
hoursWeek Float
meetingType String
Expand Down
2 changes: 1 addition & 1 deletion swatscraper
Submodule swatscraper updated 1 files
+43 −12 main.go

0 comments on commit f1df0b5

Please sign in to comment.