An operation failed because it depends on one or more records that were required but not found.
Fixes Prisma error P2025 'An operation failed because it depends on one or more records that were required but not found' by checking the record exists before updating or deleting it, and handling the not-found case explicitly. Use when update, delete, or nested writes fail with P2025. Not for unique violations (P2002…