Changes between Version 2 and Version 3 of RelationalDesign
- Timestamp:
- 02/05/26 14:21:35 (3 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RelationalDesign
v2 v3 12 12 Status (__**status_id**__, **name**) 13 13 14 Service (__**service_id**__, **name**, **price**, **duration_minutes**, category_id*(Category))14 Service (__**service_id**__, **name**, **price**, **duration_minutes**, **category_id*(Category)**) 15 15 16 16 Package (__**package_id**__, **name**, **max_usage**) 17 17 18 Review (__**review_id**__, rating, comment, created_at, payment_id*(Payment) UNIQUE)18 Review (__**review_id**__, rating, comment, created_at, **payment_id*(Payment) UNIQUE**) 19 19 20 Appointment (__**appointment_id**__, **appointment_time**, **end_time**, notes, **type enum('pre-booked','walk-in')**, **total_price**, user_id*(User), status_id*(Status))20 Appointment (__**appointment_id**__, **appointment_time**, **end_time**, notes, **type enum('pre-booked','walk-in')**, **total_price**, **user_id*(User)**, **status_id*(Status)**) 21 21 22 22 LoyaltyCard (__**card_id**__, **points**, user_id*(User)) 23 23 24 Payment (__**payment_id**__, **amount**, **method**, **timestamp**, **status**, appointment_id*(Appointment))24 Payment (__**payment_id**__, **amount**, **method**, **timestamp**, **status**, **appointment_id*(Appointment)**) 25 25 26 26 UserRole (__**user_id*(User)**__, __**role_id*(Role)**__)
