Changes between Version 6 and Version 7 of RelationalDesign


Ignore:
Timestamp:
09/22/26 08:44:38 (7 days ago)
Author:
235018
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RelationalDesign

    v6 v7  
    9494    Note: This AI tool was picked based on a short research through a different AI tool. The log of that is shown here: https://www.perplexity.ai/search/if-i-were-to-give-100-same-que-26PSOT6DTwCmRZHhK5OYWA#2
    9595
    96 == Final result ==
     96= Final result =
    9797
    9898=== Tables ===
    … …  
    101101
    1021021. **PRODUCT** (**__{{{code}}}__**, {{{price}}}, {{{availability}}}, **{{{dimensions}}}**, ''{{{weight}}}'', ''{{{width_X_length_X_depth}}}'', {{{aprox_production_time}}}, {{{description}}},
    103 **{{{cathegory_id*}}}** (CATEGORY), {{{store_ID*}}} (STORE))
     103**{{{cathegory_id*}}}** (CATEGORY))
    104104   * image (multi-valued attribute, see table **COLORS**)
    105105   * color (multi-valued attribute, see table **IMAGE**)
    … …  
    114114   * permissions (complex, multi-valued attribute, see table **PERMISSIONS**)
    115115
    116 6. **PERMISSIONS** (**__{{{personal_ID*}}}__** (PERSONAL), **__{{{type}}}__**, {{{authorisation}}})
    117 
    118 7. **BOSS** (**__{{{boss_ID*}}}__** (PERSONAL), {{{signature}}})
     1166. **PERMISSIONS** (**__{{{personal_ID*}}}__** (PERSONAL), {{{type}}}, {{{authorisation}}})
     117
     1187. **BOSS** (**__{{{boss_ID*}}}__** (PERSONAL))
    119119
    1201208. **EMPLOYEES** (**__{{{employee_ID*}}}__** (PERSONAL), {{{date_of_hire}}})
    … …  
    123123   * delivery_address (multi-valued attribute, see table **DELIVERY_ADDRESS**)
    124124
    125 10. **DELIVERY_ADDRESS** (**__{{{client_ID}}}__** (CLIENT), **__{{{address}}}__**, {{{city}}}, {{{postcode}}}, {{{country}}}, {{{is_default}}})
    126 
    127 11. **ORDER** (**__{{{order_num}}}__**,{{{client_ID*}}} (CLIENT), {{{quantity}}}, {{{status}}}, {{{last_date_mod}}}, {{{payment_method}}}, {{{discount}}})
    128 
    129 12. **REPORT** (**__{{{date}}}__**, **__{{{store_ID*}}}__** (STORE), {{{overall_profit}}}, {{{sales_trend}}}, {{{marketing_growth}}}, {{{owner_signature}}})
     12510. **DELIVERY_ADDRESS** (**__{{{client_ID}}}__** (CLIENT), {{{address}}}, {{{city}}}, {{{postcode}}}, {{{country}}}, {{{is_default}}})
     126
     12711. **ORDER** (**__{{{order_num}}}__**, {{{status}}}, {{{last_date_mod}}}, {{{payment_method}}}, {{{discount}}})
     128   * review (multi-valued attribute, see table **REVIEW**)
     129   * refund (attribute, see table **REFUND**)
     130
     13112. **REVIEW** (**__{{{order_num*}}}__** (ORDER), {{{comment}}}, {{{rating}}}, {{{last_mod_date}}})
     132
     13313. **REFUND** (**__{{{refund_id}}}__**, {{{order_num*}}} (ORDER), {{{amount}}}, {{{reason}}}, {{{status}}})
     134
     13514. **REPORT** (**__{{{date}}}__**, **__{{{store_ID*}}}__** (STORE), {{{overall_profit}}}, {{{sales_trend}}}, {{{marketing_growth}}}, {{{owner_signature}}})
    130136    * monthly_profit (multi-valued attribute, see table **MONTHLY_PROFIT**)
    131137
    132 13. **MONTHLY_PROFIT** (**__{{{report_date*}}}__** (REPORT), **__{{{store_ID*}}}__** (REPORT), {{{month_and_year}}}, {{{profit}}})
    133 
    134 14. **REQUEST** (**__{{{request_num}}}__**, {{{date_and_time}}}, {{{problem}}}, {{{notes_of_communication}}}, {{{costumer_satisfaction}}})
    135 
    136 15. **MAKES_REQUEST** (**__{{{client_ID*}}}__** (CLIENT), **__{{{order_num*}}}__** (ORDER))
    137 
    138 16. **ANSWERS** (**__{{{request_num*}}}__** (REQUEST), **__{{{personal_ID*}}}__** (PERSONAL))
    139 
    140 17. **FOR_STORE** (**__{{{request_num*}}}__** (REQUEST), **__{{{store_ID*}}}__** (STORE))
    141 
    142 18. **REVIEW** (**__{{{order_num*}}}__** (ORDER), {{{comment}}}, {{{rating}}}, {{{last_mod_date}}})
    143 
    144 19. **CHANGE** (**__{{{date_and_time}}}__**, **__{{{product_code*}}}__**  (PRODUCT), {{{changes}}})
    145 
    146 20. **MAKES_CHANGE** (**__{{{personal_ID*}}}__** (PERSONAL), **__{{{change_date_time*}}}__** (CHANGE))
    147 
    148 21. **MADE_ON** (**__{{{product_code*}}}__** (PRODUCT), **__{{{change_date_time*}}}__** (CHANGE))
     13815. **MONTHLY_PROFIT** (**__{{{report_date*}}}__** (REPORT), **__{{{store_ID*}}}__** (REPORT), {{{month_and_year}}}, {{{profit}}})
     139
     14016. **REQUEST** (**__{{{request_num}}}__**, {{{date_and_time}}}, {{{problem}}}, {{{notes_of_communication}}}, {{{costumer_satisfaction}}})
     141
     14217. **MAKES_REQUEST** (**__{{{client_ID*}}}__** (CLIENT), **__{{request_num*}}}__** (REQUEST))
     143
     14418. **ANSWERS** (**__{{{request_num*}}}__** (REQUEST), **__{{{personal_ID*}}}__** (PERSONAL))
     145
     14619. **FOR_STORE** (**__{{{request_num*}}}__** (REQUEST), **__{{{store_ID*}}}__** (STORE))
     147
     14820. **MAKES_CHANGE** (**__{{{personal_ID*}}}__** (PERSONAL), **__{{{product_code*}}}__** (PRODUCT), {{{date_and_time}}}, {{{changes}}})
     149
     15021. **ORDERS** (**__{{{client_ID*}}}__** (CLIENT), **__{{{order_num*}}}__** (ORDER))
    149151
    15015222. **WORKS_IN_STORE** (**__{{{personal_ID*}}}__** (PERSONAL), **__{{{store_ID*}}}__** (STORE))
    … …  
    15415624. **SELLS** (**__{{{product_code*}}}__** (PRODUCT), **__{{{store_ID*}}}__** (STORE), {{{discount}}})
    155157
    156 25. **INCLUDES** (**__{{{order_num*}}}__** (ORDER), **__{{{product_code*}}}__** (PRODUCT))
     15825. **INCLUDES** (**__{{{order_num*}}}__** (ORDER), **__{{{product_code*}}}__** (PRODUCT), {{{quantity}}})
    157159
    15816026. **APPROVES** (**__{{{boss_ID*}}}__** (BOSS), **__{{{report_date*}}}__** (REPORT), **__{{{store_ID*}}}__** (REPORT), {{{owner_signature}}})
    … …  
    16016227. **EXCHANGES_DATA** (**__{{{report_date*}}}__** (REPORT), **__{{{store_ID*}}}__** (STORE), {{{monthly_profit}}}, {{{date}}}, {{{sales}}}, {{{damages}}})
    161163
    162 28. **REFUND** (**__{{{refund_id}}}__**, {{{order_num*}}} (ORDER), {{{amount}}}, {{{reason}}}, {{{status}}})
    163164
    164165=== DDL Final Script ===
    … …  
    173174= DBeaver Final Diagram =
    174175
    175 [[Image(final-handcrafts-marketplace-with-help-of-AI-after-corections-edit4.1.png)]]
     176[[Image(final-handcrafts-marketplace-with-help-of-AI-after-corections-edit5.png)]]
    176177
    177178