Changes between Version 17 and Version 18 of RelationalDesign
- Timestamp:
- 01/29/26 00:35:36 (11 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RelationalDesign
v17 v18 9 9 == Tables == 10 10 11 1. ''' Users''' ('''**__id__**''', '''username''', '''password''', '''email''')11 1. '''users''' ('''**__id__**''', '''username''', '''password''', '''email''') 12 12 13 2. ''' Admins''' ('''**__user_id__**'''* (Users))13 2. '''admins''' ('''**__user_id__**'''* (Users)) 14 14 15 3. ''' Components''' ('''**__id__**''', '''name''', '''brand''', '''price''', '''type''', img_url)15 3. '''components''' ('''**__id__**''', '''name''', '''brand''', '''price''', '''type''', img_url) 16 16 17 4. ''' CPU''' ('''**__component_id__**'''* (Components), '''socket''', '''cores''', '''threads''', '''base_clock''', boost_clock, '''tdp''')17 4. '''cpu''' ('''**__component_id__**'''* (Components), '''socket''', '''cores''', '''threads''', '''base_clock''', boost_clock, '''tdp''') 18 18 19 5. ''' GPU''' ('''**__component_id__**'''* (Components), '''vram''', '''tdp''', base_clock, boost_clock, '''chipset''', '''length''')19 5. '''gpu''' ('''**__component_id__**'''* (Components), '''vram''', '''tdp''', base_clock, boost_clock, '''chipset''', '''length''') 20 20 21 6. ''' Memory''' ('''**__component_id__**'''* (Components), '''type''', '''speed''', '''capacity''', '''modules''')21 6. '''memory''' ('''**__component_id__**'''* (Components), '''type''', '''speed''', '''capacity''', '''modules''') 22 22 23 7. ''' Storage''' ('''**__component_id__**'''* (Components), '''type''', '''capacity''', '''form_factor''')23 7. '''storage''' ('''**__component_id__**'''* (Components), '''type''', '''capacity''', '''form_factor''') 24 24 25 8. ''' Power_Supply''' ('''**__component_id__**'''* (Components), '''type''', '''wattage''', '''form_factor''')25 8. '''power_supply''' ('''**__component_id__**'''* (Components), '''type''', '''wattage''', '''form_factor''') 26 26 27 9. ''' Motherboard''' ('''**__component_id__**'''* (Components), '''socket''', '''chipset''', '''form_factor''', '''ram_type''', '''num_ram_slots''', '''max_ram_capacity''', '''pci_express_slots''')27 9. '''motherboard''' ('''**__component_id__**'''* (Components), '''socket''', '''chipset''', '''form_factor''', '''ram_type''', '''num_ram_slots''', '''max_ram_capacity''', '''pci_express_slots''') 28 28 29 10. ''' PC_Case''' ('''**__component_id__**'''* (Components), '''cooler_max_height''', '''gpu_max_length''')29 10. '''pc_case''' ('''**__component_id__**'''* (Components), '''cooler_max_height''', '''gpu_max_length''') 30 30 31 11. ''' Case_Storage_Form_Factors''' ('''**__case_id__**'''*(PC_Case), '''**__form_factor__**''', **num_slots**)31 11. '''case_storage_form_factors''' ('''**__case_id__**'''*(PC_Case), '''**__form_factor__**''', **num_slots**) 32 32 33 12. ''' Case_PS_Form_Factors''' ('''**__case_id__**'''*(PC_Case), '''**__form_factor__**''')33 12. '''case_ps_form_factors''' ('''**__case_id__**'''*(PC_Case), '''**__form_factor__**''') 34 34 35 13. ''' Case_Mobo_Form_Factors''' ('''**__case_id__**'''*(PC_Case), '''**__form_factor__**''')35 13. '''case_mobo_form_factors''' ('''**__case_id__**'''*(PC_Case), '''**__form_factor__**''') 36 36 37 14. ''' Cooler''' ('''**__component_id__**'''* (Components), '''type''', '''height''', '''max_tdp_supported''')37 14. '''cooler''' ('''**__component_id__**'''* (Components), '''type''', '''height''', '''max_tdp_supported''') 38 38 39 15. ''' Cooler_CPU_Sockets''' ('''**__cooler_id__**'''*(Cooler), '''**__socket__**''')39 15. '''cooler_cpu_sockets''' ('''**__cooler_id__**'''*(Cooler), '''**__socket__**''') 40 40 41 16. ''' Memory_Card''' ('''**__component_id__**'''* (Components), '''num_slots''', '''interface''')41 16. '''memory_card''' ('''**__component_id__**'''* (Components), '''num_slots''', '''interface''') 42 42 43 17. ''' Optical_Drive''' ('''**__component_id__**'''* (Components), '''form_factor''', '''type''', '''interface''', '''write_speed''', '''read_speed''')43 17. '''optical_drive''' ('''**__component_id__**'''* (Components), '''form_factor''', '''type''', '''interface''', '''write_speed''', '''read_speed''') 44 44 45 18. ''' Sound_Card''' ('''**__component_id__**'''* (Components), '''sample_rate''', '''bit_depth''', '''chipset''', '''interface''', '''channel''')45 18. '''sound_card''' ('''**__component_id__**'''* (Components), '''sample_rate''', '''bit_depth''', '''chipset''', '''interface''', '''channel''') 46 46 47 19. ''' Cables''' ('''**__component_id__**'''* (Components), '''length_cm''', '''type''')47 19. '''cables''' ('''**__component_id__**'''* (Components), '''length_cm''', '''type''') 48 48 49 20. ''' Network_Adapter''' ('''**__component_id__**'''* (Components), '''wifi_version''', '''interface''', '''num_antennas''')49 20. '''network_adapter''' ('''**__component_id__**'''* (Components), '''wifi_version''', '''interface''', '''num_antennas''') 50 50 51 21. ''' Network_Card''' ('''**__component_id__**'''* (Components), '''num_ports''', '''speed''', '''interface''')51 21. '''network_card''' ('''**__component_id__**'''* (Components), '''num_ports''', '''speed''', '''interface''') 52 52 53 22. ''' Build''' ('''**__id__**''', '''user_id'''* (Users), '''name''', '''created_at''', description, '''total_price''', '''is_approved''')53 22. '''build''' ('''**__id__**''', '''user_id'''* (Users), '''name''', '''created_at''', description, '''total_price''', '''is_approved''') 54 54 55 23. ''' Build_Component''' ('''**__build_id__**'''*(Build), '''**__component_id__**'''*(Component), num_components)55 23. '''build_component''' ('''**__build_id__**'''*(Build), '''**__component_id__**'''*(Component), num_components) 56 56 57 24. ''' Favorite_Build''' ('''**__build_id__**'''*(Build), '''**__user_id__**'''*(Users))57 24. '''favorite_build''' ('''**__build_id__**'''*(Build), '''**__user_id__**'''*(Users)) 58 58 59 25. ''' Rating_Build''' ('''**__build_id__**'''*(Build), '''**__user_id__**'''*(Users), '''value''')59 25. '''rating_build''' ('''**__build_id__**'''*(Build), '''**__user_id__**'''*(Users), '''value''') 60 60 61 26. ''' Review''' ('''**__id__**''', '''build_id'''* (Build), '''user_id'''* (Users), '''content''', '''created_at''')61 26. '''review''' ('''**__id__**''', '''build_id'''* (Build), '''user_id'''* (Users), '''content''', '''created_at''') 62 62 63 27. ''' Suggestions''' ('''**__id__**''', '''user_id'''* (Users), admin_id* (Admins), '''link''', admin_comment, description, '''status''', '''component_type''')63 27. '''suggestions''' ('''**__id__**''', '''user_id'''* (Users), admin_id* (Admins), '''link''', admin_comment, description, '''status''', '''component_type''') 64 64 65 65 == DDL script for creating the database schema ==
