Changes between Version 4 and Version 5 of RelationalDesign
- Timestamp:
- 05/19/26 11:19:59 (8 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RelationalDesign
v4 v5 18 18 4. WISHLIST (**__wishlist_id__**, **__user_id*__**[USER]) 19 19 20 5. PRODUCT (**__product_id__**, **price**, **format**, **description**, **stock**)20 5. WISHLIST_ITEM (**__wishlist_id__**, **__product_id__**[PRODUCT], **added_at**) 21 21 22 6. RELEASE (**__release_id__**, **title**, **release_date**, **genre**, **cover_photo**, record_label)22 6. PRODUCT (**__product_id__**, **__release_id*__**[RELEASE], **price**, **format**, **description**, **stock**) 23 23 24 7. ALBUM (**__release_id*__**[RELEASE])24 7. RELEASE (**__release_id__**, **title**, **release_date**, **genre**, **cover_photo**, record_label) 25 25 26 8. SINGLE (**__release_id*__**[RELEASE], **duration**)26 8. ALBUM (**__release_id*__**[RELEASE]) 27 27 28 9. S ONG (**__song_id__**, **song_name**, **duration**)28 9. SINGLE (**__release_id*__**[RELEASE], **duration**) 29 29 30 10. ORDER (**__order_id__**, **__user_id*__**[USER], **purchase_date**, **status**, **payment_method**, **points_earned**, points_used)30 10. SONG (**__song_id__**, **song_name**, **duration**) 31 31 32 11. ORDER _ITEM (**__order_id*__**[ORDER], **__product_id*__**[PRODUCT], **quantity**, **price_at_purchase**)32 11. ORDER (**__order_id__**, **__user_id*__**[USER], **purchase_date**, **status**, **payment_method**, **points_earned**, points_used) 33 33 34 12. ARTIST (**__artist_id__**, **artist_name**, photo, description)34 12. ORDER_ITEM (**__order_id*__**[ORDER], **__product_id*__**[PRODUCT], **quantity**, **price_at_purchase**) 35 35 36 13. MODIFICATION (**__modification_id__**, **__user_id*__**[ADMIN], **date_modified**, **type_of_modification**, discount) 36 13. ARTIST (**__artist_id__**, **artist_name**, photo, description) 37 38 14. MODIFICATION (**__modification_id__**, **__user_id*__**[ADMIN], **date_modified**, **type_of_modification**, discount) 39 40 15. MODIFICATION_PRODUCT (**__modification_id*__**[MODIFICATION], **__product_id*__**[PRODUCT]) 41 42 16. RELEASE_ARTIST (**__release_id*__**[RELEASE], **__artist_id*__**[ARTIST]) 43 44 17. ALBUM_SONG (**__album_id*__**[ALBUM], **__song_id*__**[SONG]) 45 46 18. SONG_ARTIST (**__song_id*__**[SONG], **__artist_id*__**[ARTIST]) 37 47 }}} 38 48 … … 40 50 ==== DDL script for creating the database schema and objects: 41 51 52 [attachment:ddl-v1.sql DDL Script] 53 42 54 ==== DML script for filling tables with data: 43 55 56 [attachment:dml-v1.sql DML Script] 57 44 58 == Relational diagram
