Changes between Version 1 and Version 2 of RelationalDesign


Ignore:
Timestamp:
12/04/22 21:07:00 (2 years ago)
Author:
201094
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RelationalDesign

    v1 v2  
    44
    55 - Примарните клучеви се означени со bold и underline
    6  - Надворешните клучеви се означени со *,^,%,&
     6 - Надворешните клучеви се означени со *,#,%,&
    77 - Задолжителни атрибути, односно not null со bold
    88
     
    1010
    1111 - //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))
    1313 - //customers//(**__ID_customer*__**(users),points)
    1414 - //salaries//(**__ID_salary__**, **sum**, **date_from**, date_to, **ID_worker*__**(Workers))
     
    1616 - //cinemas//(**__ID_Cinema__**, **name**, **location**)
    1717 - //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))
    2020 - //discounts//(**__ID_discount__**, **validity**, **code**, **type**, **percent**)
    2121 - //seats//(**__ID_seat__**, **seat_number**, **ID_room*__**(Projection_Rooms) ,**ID_category&**(Categories))