From f9dc55d42c9d8bc668897f53a85776588d9985a8 Mon Sep 17 00:00:00 2001 From: Nils-Johan Gynther Date: Sat, 2 May 2026 09:27:50 +0200 Subject: [PATCH] feat(migrations): add admin-controlled toggle for recipe sharing in User table --- .../20260502120000_add_user_can_share_recipes/migration.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 backend/prisma/migrations/20260502120000_add_user_can_share_recipes/migration.sql diff --git a/backend/prisma/migrations/20260502120000_add_user_can_share_recipes/migration.sql b/backend/prisma/migrations/20260502120000_add_user_can_share_recipes/migration.sql new file mode 100644 index 00000000..736397d1 --- /dev/null +++ b/backend/prisma/migrations/20260502120000_add_user_can_share_recipes/migration.sql @@ -0,0 +1,2 @@ +-- Add admin-controlled toggle for recipe sharing. +ALTER TABLE `User` ADD COLUMN `canShareRecipes` BOOLEAN NOT NULL DEFAULT true;