diff --git a/web/prisma/migrations/20250610171300_required_feed_id/migration.sql b/web/prisma/migrations/20250610171300_required_feed_id/migration.sql deleted file mode 100644 index f4d3e47..0000000 --- a/web/prisma/migrations/20250610171300_required_feed_id/migration.sql +++ /dev/null @@ -1,8 +0,0 @@ -/* - Warnings: - - - Made the column `feedId` on table `User` required. This step will fail if there are existing NULL values in that column. - -*/ --- AlterTable -ALTER TABLE "User" ALTER COLUMN "feedId" SET NOT NULL; diff --git a/web/prisma/schema.prisma b/web/prisma/schema.prisma index a041a11..0e002b1 100644 --- a/web/prisma/schema.prisma +++ b/web/prisma/schema.prisma @@ -498,7 +498,7 @@ model User { moderator Boolean @default(false) verifiedLink String? secretTokenHash String @unique - feedId String @unique @default(cuid(2)) + feedId String? @unique @default(cuid(2)) /// Computed via trigger. Do not update through prisma. totalKarma Int @default(0)