Changes between Version 26 and Version 27 of RelationalDesign


Ignore:
Timestamp:
12/07/22 13:36:30 (19 months ago)
Author:
201063
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RelationalDesign

    v26 v27  
    1515* user е резервиран збор во PostgreSQL па оваа табела ќе се вика user_table наместо user
    1616
    17 Adopter (__**id_user***__''(user)'', free_time, funds, has_other_pets, has_kids, housing, physical_activity_adopters, will_foster, **is_verified**, verified_by_employee)
    18 * атрибутот verified_by_employee ја претставува 1-М релацијата employee_verifies_adopter
    19 
    2017Surendee (__**id_user***__''(user)'')
    21 
    22 Employee (__**id_user***__''(user)'', **position_employee**, **id_shelter**)
    23 * position е резервиран збор во PostgreSQL па оваа колона ќе се вика position_employee наместо position
    24 * атрибутот id_shelter ја претставува 1-М релацијата еmployee_works_at_shelter
    2518
    2619Admin (__**id_user***__''(user)'')
     
    3427* атрибутот id_organisation ја претставува 1-М релацијата shelter_is_from_organisation
    3528
    36 Post (__**id_post**__, **date_post**, url_thumbanail, id_surendee, id_employee)
    37 * ограничување: Post мора да биде во точно една од релациите surrendees_publishes_and_manages_posts или employee_publishes_and_manages_post, не смее да не биде во ниту една или пак во двете
    38 * атрибутот id_surendee ја претставува 1-М релацијата surrendees_publishes_and_manages_posts
    39 * атрибутот id_employee ја претставува 1-М релацијата employee_publishes_and_manages_post
     29Employee (__**id_user***__''(user)'', **position_employee**, **id_shelter**)
     30* position е резервиран збор во PostgreSQL па оваа колона ќе се вика position_employee наместо position
     31* атрибутот id_shelter ја претставува 1-М релацијата еmployee_works_at_shelter
     32
     33Adopter (__**id_user***__''(user)'', free_time, funds, has_other_pets, has_kids, housing, physical_activity_adopters, will_foster, **is_verified**, verified_by_employee)
     34* атрибутот verified_by_employee ја претставува 1-М релацијата employee_verifies_adopter
    4035
    4136Adoption (__**id_adoption**__, **start_date**, end_date_foster, **id_adopter**)
     
    4641* атрибутот id_adoption ја претставува 1-М релацијата adoptions_for_pets
    4742* атрибутот id_shelter ја претставува 1-М релацијата pet_is_in_shelter
     43
     44Post (__**id_post**__, **date_post**, url_thumbanail, id_surendee, id_employee)
     45* ограничување: Post мора да биде во точно една од релациите surrendees_publishes_and_manages_posts или employee_publishes_and_manages_post, не смее да не биде во ниту една или пак во двете
     46* атрибутот id_surendee ја претставува 1-М релацијата surrendees_publishes_and_manages_posts
     47* атрибутот id_employee ја претставува 1-М релацијата employee_publishes_and_manages_post
    4848
    4949Category (__**id_category**__, **name_category**)