Changes between Version 6 and Version 7 of RelationalDesign
- Timestamp:
- 11/24/21 12:05:56 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RelationalDesign
v6 v7 11 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** *(category))13 * business(**__business_id__**, **business_name**, **business_phone**, **business_descr**, **business_hours**, **category_id** *(category)) 14 14 * Секундарен клуч: ''category_id е референца кон category(category_id)и има not null constraint поради тотално учество на Businesses во релацијата belongs_to'' 15 15 … … 25 25 * Секундарен клуч: ''address_id e рефернца кон address(address_id)'' 26 26 27 * business_service(**__business_service_id__**, **business_id** *(business), **service_id** *(service)) 28 * Секундарен клуч: ''business_id е референца кон business(business_id) '' 29 * Секундарен клуч: ''service_id е референца кон service(service_id) '' 27 * business_service( **business_id** *(business), **service_id** *(service)) 28 * Композитен примарен клуч (business_id, service_id) 29 * ''business_id е референца кон business(business_id) '' 30 * ''service_id е референца кон service(service_id) '' 30 31 31 32 === Креирање на табели