Changes between Version 3 and Version 4 of RelationalDesign


Ignore:
Timestamp:
09/14/26 15:19:33 (2 weeks ago)
Author:
201165
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RelationalDesign

    v3 v4  
    11= Nutritioneer | Логички и физички дизајн - DDL
    22
    3 == Номенклатура и легенда на записите
     3== Номенклатура и нотација на записите
    44
    5 тест тест
     51. **Примарните клучеви** се //[заградени]//
     62. **Надворешните клучеви** се со суфикс '*' и проследени од нивната релациска точка
    67
    7 == SQL DDL Queries
     8
     9== Табели
     10
     11**user** ( [email], username, password, role )
     12
     13**ingredient** ( [name], description, energy, kcal, type )
     14
     15**nutrient** ( [id], quantity, description, unit, type )
     16
     17**restriction** ( [id], description, type )
     18
     19**recipe** ( [id], user_email* (user), name, guide, kcal_sum, servings )
     20
     21**post** ( [id], created_by* (user), recipe_id* (recipe), media, media_type, media_name, is_private, is_favourite, status, created_at )
     22
     23**comment** ( [id], post_id* (post), created_by* (user), description, created_at )
     24
     25**grocery_list** ( [id], user_email* (user), date_time, notes, is_bought, kcal )
     26
     27**intake_planner** ( [id], user_email* (user), date_time, notes, kcal, is_consumed )
     28
     29**biometrics** ( [id], user_email* (user), date, weight, height, age, muscle_fat_ratio )
     30
     31**recipe_contains_ingredient** ( [recipe_id* (recipe), ingredient_name* (ingredient)], ingredient_quantity )
     32
     33**ingredient_contains_nutrient** ( [ingredient_name* (ingredient), nutrient_id* (nutrient)], quantity )
     34
     35**recipe_contains_restriction** ( [recipe_id* (recipe), restriction_id* (restriction)] )
     36
     37**grocery_list_bulk_add_ingredient** ( [list_id* (grocery_list), recipe_id* (recipe)] )
     38
     39**grocery_list_single_add_ingredient** ( [list_id* (grocery_list), ingredient_name* (ingredient)], buy_quantity )
     40
     41**intake_planner_save_to_list_post** ( [planner_id* (intake_planner), post_id* (post)] )
     42
     43== DDL Queries
    844
    945S Q L
     46
     47== DML Queries
    1048
    1149== Релационен дијаграм