Changes between Version 1 and Version 2 of RelationalDesign
- Timestamp:
- 12/04/22 21:07:00 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RelationalDesign
v1 v2 4 4 5 5 - Примарните клучеви се означени со bold и underline 6 - Надворешните клучеви се означени со *, ^,%,&6 - Надворешните клучеви се означени со *,#,%,& 7 7 - Задолжителни атрибути, односно not null со bold 8 8 … … 10 10 11 11 - //users// (**__ID_user__**, **username**, **password**, **first_name**, **last_name**, address, contact_number, date_created) 12 - //workers//(**__ID_worker*__**(users), **position**, **work_hours_from**,**work_hours_to**, **ID_cinema ^**(cinemas))12 - //workers//(**__ID_worker*__**(users), **position**, **work_hours_from**,**work_hours_to**, **ID_cinema#**(cinemas)) 13 13 - //customers//(**__ID_customer*__**(users),points) 14 14 - //salaries//(**__ID_salary__**, **sum**, **date_from**, date_to, **ID_worker*__**(Workers)) … … 16 16 - //cinemas//(**__ID_Cinema__**, **name**, **location**) 17 17 - //events//(**__ID_event__**, **theme**, **duration**, **repeating**, **start_dates**) 18 - //projections//(**__ID_projection__**, **date_time_start**, **type_of_technology**,**date_time_end**, **ID_film*__*(Films), ID_discount ^(Discounts), ID_event%(Events))19 - //tickets//(**__ID_ticket__**, **price** , **ID_customer*__**(Customer), **ID_projection&**(Projections), ID_discount ^(Discounts),**ID_seat%**(Seats))18 - //projections//(**__ID_projection__**, **date_time_start**, **type_of_technology**,**date_time_end**, **ID_film*__*(Films), ID_discount#(Discounts), ID_event%(Events)) 19 - //tickets//(**__ID_ticket__**, **price** , **ID_customer*__**(Customer), **ID_projection&**(Projections), ID_discount#(Discounts),**ID_seat%**(Seats)) 20 20 - //discounts//(**__ID_discount__**, **validity**, **code**, **type**, **percent**) 21 21 - //seats//(**__ID_seat__**, **seat_number**, **ID_room*__**(Projection_Rooms) ,**ID_category&**(Categories))