diff --git a/pages/settings/appearance.tsx b/pages/settings/appearance.tsx index 26fb0b2..3ff1eb7 100644 --- a/pages/settings/appearance.tsx +++ b/pages/settings/appearance.tsx @@ -99,46 +99,12 @@ export default function Appearance() { -
-
-

Link Card

-
- -
- - - setUser({ ...user, displayLinkIcons: !user.displayLinkIcons }) - } - /> - {user.displayLinkIcons ? ( - - setUser({ ...user, blurredFavicons: !user.blurredFavicons }) - } - /> - ) : undefined} -

Preview:

- - -
- - + /> */} ); diff --git a/prisma/migrations/20231202183159_remove_extra_fields/migration.sql b/prisma/migrations/20231202183159_remove_extra_fields/migration.sql new file mode 100644 index 0000000..5380a30 --- /dev/null +++ b/prisma/migrations/20231202183159_remove_extra_fields/migration.sql @@ -0,0 +1,10 @@ +/* + Warnings: + + - You are about to drop the column `blurredFavicons` on the `User` table. All the data in the column will be lost. + - You are about to drop the column `displayLinkIcons` on the `User` table. All the data in the column will be lost. + +*/ +-- AlterTable +ALTER TABLE "User" DROP COLUMN "blurredFavicons", +DROP COLUMN "displayLinkIcons"; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index dd91892..6ea1bda 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -45,8 +45,6 @@ model User { archiveAsPDF Boolean @default(true) archiveAsWaybackMachine Boolean @default(false) isPrivate Boolean @default(false) - displayLinkIcons Boolean @default(true) - blurredFavicons Boolean @default(false) createdAt DateTime @default(now()) updatedAt DateTime @updatedAt @default(now()) }