Files
Grow/prisma/migrations/20260619092758_add_feeding_flags/migration.sql
T
arnaudne f2cc181ece feat: per-baby breastfeeding and pump feature toggles
Add isBreastfed and hasPump flags to Baby model. When disabled,
hide breastfeeding/pump options from quick-add FAB, dashboard
counters and quick-log groups, and the milk stock nav link.
Settings page gains toggle UI to configure per baby.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 11:51:41 +02:00

4 lines
149 B
SQL

-- AlterTable
ALTER TABLE "Baby" ADD COLUMN "hasPump" BOOLEAN NOT NULL DEFAULT true,
ADD COLUMN "isBreastfed" BOOLEAN NOT NULL DEFAULT true;