diff --git a/prisma/migrations/20230911085315_add_posttype/migration.sql b/prisma/migrations/20230911085315_add_posttype/migration.sql index c8a521e..705337a 100644 --- a/prisma/migrations/20230911085315_add_posttype/migration.sql +++ b/prisma/migrations/20230911085315_add_posttype/migration.sql @@ -4,6 +4,3 @@ CREATE TYPE "PostType" AS ENUM ('DEFAULT', 'AUDIO', 'VIDEO', 'YOUTUBE'); -- AlterTable ALTER TABLE "Post" ADD COLUMN "featuredImage" TEXT, ADD COLUMN "type" "PostType" DEFAULT 'DEFAULT'; - --- AlterTable -ALTER TABLE "User" ADD COLUMN "preferences" JSONB DEFAULT '{}'; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 9db07fb..0c578ee 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -62,7 +62,6 @@ model User { sessions Session[] pages Page[] posts Post[] - preferences Json? @default("{}") } model VerificationToken {