Changes between Version 3 and Version 4 of RelationalDesign
- Timestamp:
- 05/19/26 01:40:49 (9 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RelationalDesign
v3 v4 12 12 1. USER (**__user_id__**, **username**, **email**, **password**, **date_created**, shipping_address, telephone_number) 13 13 14 2. ADMIN (**__user_id*__**[USER], discount_percentage, type)14 2. ADMIN (**__user_id*__**[USER], **type**, **discount_percentage**) 15 15 16 3. CONSUMER (**__user_id*__**[USER], points_collected)16 3. CONSUMER (**__user_id*__**[USER], **points_collected**) 17 17 18 18 4. WISHLIST (**__wishlist_id__**, **__user_id*__**[USER]) 19 19 20 5. PRODUCT ( product_id, price, format, description, stock)20 5. PRODUCT (**__product_id__**, **price**, **format**, **description**, **stock**) 21 21 22 6. RELEASE ( release_id, product_id*[PRODUCT]?????, title, release_date, genre, record_label, cover_photo)22 6. RELEASE (**__release_id__**, **title**, **release_date**, **genre**, **cover_photo**, record_label) 23 23 24 7. ALBUM ( release_id*[RELEASE])24 7. ALBUM (**__release_id*__**[RELEASE]) 25 25 26 8. SINGLE ( release_id*[RELEASE], duration)26 8. SINGLE (**__release_id*__**[RELEASE], **duration**) 27 27 28 9. SONG ( song_id, song_name, duration)28 9. SONG (**__song_id__**, **song_name**, **duration**) 29 29 30 10. ORDER ( order_id, user_id*[USER], purchase_date, status, payment_method, points_used, points_earned)30 10. ORDER (**__order_id__**, **__user_id*__**[USER], **purchase_date**, **status**, **payment_method**, **points_earned**, points_used) 31 31 32 11. ORDER_ITEM ( order_id*[ORDER], product_id*[PRODUCT], quantity, price_at_purchase)32 11. ORDER_ITEM (**__order_id*__**[ORDER], **__product_id*__**[PRODUCT], **quantity**, **price_at_purchase**) 33 33 34 12. ARTIST ( artist_id, artist_name, photo, description)34 12. ARTIST (**__artist_id__**, **artist_name**, photo, description) 35 35 36 13. MODIFICATION ( modification_id, user_id*[ADMIN], date_modified, discount)36 13. MODIFICATION (**__modification_id__**, **__user_id*__**[ADMIN], **date_modified**, **type_of_modification**, discount) 37 37 }}} 38 38
