feat: add health alerts field and delete actions for pets and clients
- Add health_alerts column to pets table (migration 0001) - Update DB schema, shared types, and API Zod validation - Show health alerts prominently (red badge) in pet cards - Add health alerts field to pet form with allergy/condition placeholder - Add delete button per pet with confirmation dialog - Add delete client button with cascade warning Closes groombook/groombook#2 Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
ALTER TABLE "pets" ADD COLUMN "health_alerts" text;
|
||||
@@ -8,6 +8,13 @@
|
||||
"when": 1773771452946,
|
||||
"tag": "0000_colossal_colossus",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 1,
|
||||
"version": "7",
|
||||
"when": 1742241600000,
|
||||
"tag": "0001_pet_health_alerts",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user