diff --git a/prisma/migrations/20230723073936_don_t_require_review_titles/migration.sql b/prisma/migrations/20230723073936_don_t_require_review_titles/migration.sql new file mode 100644 index 00000000..731ea621 --- /dev/null +++ b/prisma/migrations/20230723073936_don_t_require_review_titles/migration.sql @@ -0,0 +1,3 @@ +-- AlterTable +ALTER TABLE "Review" ALTER COLUMN "title" DROP NOT NULL, +ALTER COLUMN "title" DROP DEFAULT; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 99cf6b6f..91946f35 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -707,7 +707,7 @@ model Review { id Int @id @default(autoincrement()) // The review title (usually included as the header on their webpage). - title String @default("") + title String? // The review subtitle (typically included below the title on their webpage). subtitle String?