Changes between Version 12 and Version 13 of RelationalDesign
- Timestamp:
- 05/26/26 04:16:39 (2 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RelationalDesign
v12 v13 10 10 {{{#!div style="text-align: justify; width: 100%;" 11 11 12 1. USER (**__user_id__**, **username**, **email**, **password**, **date_created**, shipping_address, telephone_number)12 1. USERS (**__user_id__**, **username**, **email**, **password**, **date_created**, shipping_address, telephone_number) 13 13 14 2. ADMIN (**__user_id*__**[USER], **type**, **discount_percentage**)14 2. ADMINS (**__user_id*__**[USER], **type**, **discount_percentage**) 15 15 16 3. CONSUMER (**__user_id*__**[USER], **points_collected**)16 3. CONSUMERS (**__user_id*__**[USER], **points_collected**) 17 17 18 4. WISHLIST (**__wishlist_id__**, **__user_id*__**[USER])18 4. WISHLISTS (**__wishlist_id__**, **__user_id*__**[USER]) 19 19 20 5. WISHLIST_ITEM (**__wishlist_id__**, **__product_id__**[PRODUCT], **added_at**)20 5. WISHLIST_ITEMS (**__wishlist_id__**, **__product_id__**[PRODUCT], **added_at**) 21 21 22 6. PRODUCT (**__product_id__**, **__release_id*__**[RELEASE], **price**, **format**, **description**, **stock**)22 6. PRODUCTS (**__product_id__**, **__release_id*__**[RELEASE], **price**, **format**, **product_description**, **stock**) 23 23 24 7. RELEASE (**__release_id__**, **title**, **release_date**, **genre**, **cover_photo**, record_label)24 7. RELEASES (**__release_id__**, **title**, **release_date**, **genre**, **cover_photo**, record_label) 25 25 26 8. ALBUM (**__release_id*__**[RELEASE])26 8. ALBUMS (**__release_id*__**[RELEASE]) 27 27 28 9. SINGLE (**__release_id*__**[RELEASE], **duration**)28 9. SINGLE_RELEASES (**__release_id*__**[RELEASE], **song_duration**) 29 29 30 10. SONG (**__song_id__**, **song_name**, **duration**)30 10. SONGS (**__song_id__**, **song_name**, **duration**) 31 31 32 11. ORDER (**__order_id__**, **__user_id*__**[USER], **purchase_date**, **status**, **payment_method**, **points_earned**, points_used)32 11. ORDERS (**__order_id__**, **__user_id*__**[USER], **purchase_date**, **status**, **payment_method**, **points_earned**, **points_used**) 33 33 34 12. ORDER_ITEM (**__order_id*__**[ORDER], **__product_id*__**[PRODUCT], **quantity**, **price_at_purchase**)34 12. ORDER_ITEMS (**__order_id*__**[ORDER], **__product_id*__**[PRODUCT], **quantity**, **price_at_purchase**) 35 35 36 13. ARTIST (**__artist_id__**, **artist_name**, photo,description)36 13. ARTISTS (**__artist_id__**, **artist_name**, artist_photo, artist_description) 37 37 38 14. MODIFICATION (**__modification_id__**, **__user_id*__**[ADMIN], **date_modified**, **type_of_modification**, discount)38 14. MODIFICATIONS (**__modification_id__**, **__user_id*__**[ADMIN], **date_modified**, **type_of_modification**, discount) 39 39 40 15. MODIFICATION_PRODUCT (**__modification_id*__**[MODIFICATION], **__product_id*__**[PRODUCT])40 15. MODIFICATION_PRODUCTS (**__modification_id*__**[MODIFICATION], **__product_id*__**[PRODUCT]) 41 41 42 16. RELEASE_ARTIST (**__release_id*__**[RELEASE], **__artist_id*__**[ARTIST] )42 16. RELEASE_ARTIST (**__release_id*__**[RELEASE], **__artist_id*__**[ARTIST], **release_ordinal**, **type**) 43 43 44 44 17. ALBUM_SONG (**__album_id*__**[ALBUM], **__song_id*__**[SONG]) 45 45 46 18. SONG_ARTIST (**__song_id*__**[SONG], **__artist_id*__**[ARTIST] )46 18. SONG_ARTIST (**__song_id*__**[SONG], **__artist_id*__**[ARTIST], song_ordinal) 47 47 }}} 48 48
