Changes between Version 2 and Version 3 of RelationalDesign
- Timestamp:
- 11/24/21 01:44:14 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RelationalDesign
v2 v3 7 7 8 8 ==== Табели 9 * category( __category_id__, **category_name**)9 * category(**__category_id__**, **category_name**) 10 10 11 * reviewer( __reviewer_id__, **reviewer_name**, **reviewer_verified**, **reviewer_email**, **reviewer_password** )11 * reviewer(**__reviewer_id__**, **reviewer_name**, **reviewer_verified**, **reviewer_email**, **reviewer_password** ) 12 12 13 * business( __business_id__, **business_name**, **business_phone**, **business_descr**, **business_hours**, **business_avg_stars** , **category_id** *)13 * business(**__business_id__**, **business_name**, **business_phone**, **business_descr**, **business_hours**, **business_avg_stars** , **category_id** *) 14 14 * ''category_id е референца кон category(category_id)и има not null constraint поради тотално учество на Businesses во релацијата belongs_to'' 15 15 16 * address( __address_id__, **address_street**, **address_postal_code**, **address_city**, **business_id** *)16 * address(**__address_id__**, **address_street**, **address_postal_code**, **address_city**, **business_id** *) 17 17 * ''business_id е референца кон business(business_id) и има not null constraint поради тотално учество на Addresses во релацијата has_address'' 18 18 19 * service( __service_id__, **service_name**, **category_id** *)19 * service(**__service_id__**, **service_name**, **category_id** *) 20 20 * ''category_id е референца кон category(category_id)и има not null constraint поради тотално учество на Services во релацијата of'' 21 21 22 * review( __review_id__, **review_title**, **review_text**, **review_stars** , **business_id** *, **reviewer_id** *)22 * review(**__review_id__**, **review_title**, **review_text**, **review_stars** , **business_id** *, **reviewer_id** *) 23 23 * ''business_id е референца кон business(business_id) и има not null constraint поради тотално учество на Review во релацијата about'' 24 24 * ''reviewer_id e референца кон reviewer(reviewer_id) и има not null constraint поради тотално учество на Review во релацијата left''