Changes between Version 4 and Version 5 of RelationalDesign


Ignore:
Timestamp:
05/19/26 11:19:59 (8 days ago)
Author:
232012
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RelationalDesign

    v4 v5  
    18184. WISHLIST (**__wishlist_id__**, **__user_id*__**[USER])
    1919
    20 5. PRODUCT (**__product_id__**, **price**, **format**, **description**, **stock**)
     205. WISHLIST_ITEM (**__wishlist_id__**, **__product_id__**[PRODUCT], **added_at**)
    2121
    22 6. RELEASE (**__release_id__**, **title**, **release_date**, **genre**, **cover_photo**, record_label)
     226. PRODUCT (**__product_id__**, **__release_id*__**[RELEASE], **price**, **format**, **description**, **stock**)
    2323
    24 7. ALBUM (**__release_id*__**[RELEASE])
     247. RELEASE (**__release_id__**, **title**, **release_date**, **genre**, **cover_photo**, record_label)
    2525
    26 8. SINGLE (**__release_id*__**[RELEASE], **duration**)
     268. ALBUM (**__release_id*__**[RELEASE])
    2727
    28 9. SONG (**__song_id__**, **song_name**, **duration**)
     289. SINGLE (**__release_id*__**[RELEASE], **duration**)
    2929
    30 10. ORDER (**__order_id__**, **__user_id*__**[USER], **purchase_date**, **status**, **payment_method**, **points_earned**, points_used)
     3010. SONG (**__song_id__**, **song_name**, **duration**)
    3131
    32 11. ORDER_ITEM (**__order_id*__**[ORDER], **__product_id*__**[PRODUCT], **quantity**, **price_at_purchase**)
     3211. ORDER (**__order_id__**, **__user_id*__**[USER], **purchase_date**, **status**, **payment_method**, **points_earned**, points_used)
    3333
    34 12. ARTIST (**__artist_id__**, **artist_name**, photo, description)
     3412. ORDER_ITEM (**__order_id*__**[ORDER], **__product_id*__**[PRODUCT], **quantity**, **price_at_purchase**)
    3535
    36 13. MODIFICATION (**__modification_id__**, **__user_id*__**[ADMIN], **date_modified**, **type_of_modification**, discount)
     3613. ARTIST (**__artist_id__**, **artist_name**, photo, description)
     37
     3814. MODIFICATION (**__modification_id__**, **__user_id*__**[ADMIN], **date_modified**, **type_of_modification**, discount)
     39
     4015. MODIFICATION_PRODUCT (**__modification_id*__**[MODIFICATION], **__product_id*__**[PRODUCT])
     41
     4216. RELEASE_ARTIST (**__release_id*__**[RELEASE], **__artist_id*__**[ARTIST])
     43
     4417. ALBUM_SONG (**__album_id*__**[ALBUM], **__song_id*__**[SONG])
     45
     4618. SONG_ARTIST (**__song_id*__**[SONG], **__artist_id*__**[ARTIST])
    3747}}}
    3848
     
    4050==== DDL script for creating the database schema and objects:
    4151
     52[attachment:ddl-v1.sql​ DDL Script]
     53
    4254==== DML script for filling tables with data:
    4355
     56[attachment:dml-v1.sql​ DML Script]
     57
    4458== Relational diagram