| Version 1 (modified by , 8 days ago) ( diff ) |
|---|
Use-case 0016 - Edit a Pet Profile
Initiating actor: Pet Owner
Other actors: None
Description: A Pet Owner wants to update the details of an existing pet, such as its age, photo URL, or special needs.
Scenario:
- Pet Owner navigates to their "My Pets" dashboard.
- Owner clicks the "Edit Pet" button next to a specific pet.
- Owner updates the age and special needs, and submits the form.
- System updates the pet record in the database:
UPDATE pets SET age = 5, special_needs = 'Needs medication pill every 12 hours', photo = 'new_photo_url.jpg' WHERE pet_id = 'specific-pet-uuid-here' AND owner_id = (SELECT user_id FROM users WHERE username = 'owner_bojan');
Note:
See TracWiki
for help on using the wiki.
