From 9c45a69d527ac8610673312ca1cde1aa8dc9a3b9 Mon Sep 17 00:00:00 2001 From: v6ctor Date: Sat, 16 Nov 2024 03:39:25 -0500 Subject: [PATCH 1/2] add linked sections to course model --- prisma/migrations/20241116082646_/migration.sql | 2 ++ prisma/schema.prisma | 1 + swatscraper | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 prisma/migrations/20241116082646_/migration.sql diff --git a/prisma/migrations/20241116082646_/migration.sql b/prisma/migrations/20241116082646_/migration.sql new file mode 100644 index 0000000..76d7c18 --- /dev/null +++ b/prisma/migrations/20241116082646_/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE "Course" ADD COLUMN "linkedSections" TEXT; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 5bd6175..4107bff 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -43,6 +43,7 @@ model Course { facultyId Int facultyMeetId Int year String + linkedSections String? avgRating Float? instructor Faculty @relation(fields: [facultyId], references: [id]) facultyMeet MeetingsFaculty @relation(fields: [facultyMeetId], references: [id]) diff --git a/swatscraper b/swatscraper index a08d124..5bc17f5 160000 --- a/swatscraper +++ b/swatscraper @@ -1 +1 @@ -Subproject commit a08d124dbde1384db998f38939d94744e9ce9173 +Subproject commit 5bc17f5c8e9f1cd556014d1d9726feaf9a1625b9 From 07cec38552895cdf8aed16190a27784c12c48024 Mon Sep 17 00:00:00 2001 From: v6ctor Date: Sat, 16 Nov 2024 04:11:22 -0500 Subject: [PATCH 2/2] add linked sections to course db model --- swatscraper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swatscraper b/swatscraper index 5bc17f5..56682bf 160000 --- a/swatscraper +++ b/swatscraper @@ -1 +1 @@ -Subproject commit 5bc17f5c8e9f1cd556014d1d9726feaf9a1625b9 +Subproject commit 56682bf41fe36416286e562aba479dc1d6abed20