Version 13 (modified by 2 years ago) ( diff ) | ,
---|
Логички и физички дизајн
Релациска шема (со мапирачка трансформација)
- примарни клучеви: bold и underline
- надворешни клучеви: bold и * до името на надворешниот клуч, во заграда табелата кон која покажува
- not null атрибути: bold
- Event ( id_event, name, price, city, date, phone_number, id_user_artist*(User),id_user_organizer*(User))
- Gallery (id_event*(Event), style)
- Theatre (id_event*(Event), director, genre, duration)
- Museum (id_event*(Event), workshop, history, department)
- User (id_user, username, email, surname, name, phone_number)
- Artist (id_user* (User), type_of_artist, id_user_admin*(User))
- Admin (id_user* (User))
- Organizer(id_user* (User))
- Customer (id_user* (User), transaction_account)
- Review ( id_review, content, rating, created_at, id_user_artist*(User))
- Seat(id_ticket*(Ticket), id_event* (Event), id_seat, number)
- Transaction ( id_transaction, id_invoice, edited_at, name, created_at)
- Cart(id_cart, total)
- Ticket( id_ticket, price, date, location, type_of_event, id_event*(Event), id_user_customer*(User), id_cart(Cart), id_seat*(Seat))
- Artist_Exhibits_Gallery (id_event_gallery*(Event), id_user_artist*(User))
- Artist_acts_Theatre (id_event_theatre*(Event), id_user_artist*(User))
- Event_has_seat (id_event*(Event), id_seat*(Seat))
DDL скрипта за бришење на табелите и креирање на табелите
DML скрипта за полнење на табелите со податоци
Релациски дијаграм изваден од DBeaver
Attachments (3)
- DDL.sql (6.8 KB ) - added by 21 months ago.
- DML.sql (10.4 KB ) - added by 21 months ago.
- ER.png (81.8 KB ) - added by 21 months ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.