Version 27 (modified by 2 years ago) ( diff ) | ,
---|
Логички и физички дизајн
Релациска шема (со мапирачка трансформација)
- примарни клучеви: bold и underline
- надворешни клучеви: bold и * до името на надворешниот клуч, во заграда табелата кон која покажува
- not null атрибути: bold
- users ( id_user, username, email, surname, name, phone_number )
- artist ( id_user* (User), type_of_artist, id_user_admin* (User) )
- admins ( id_user* (User) )
- organizer( id_user* (User) )
- customer ( id_user* (User), transaction_account )
- events ( 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), history, department, workshop )
- review ( id_review, content, rating, created_at, id_user_artist* (User), id_user_customer* (User) )
- seat( id_event* (Event), id_seat, number )
- cart( id_user_customer* (User), id_cart, total )
- transactions ( id_transaction, id_invoice, edited_at, name, created_at, (id_user_customer, id_cart)* (Cart) )
- ticket( id_ticket, price, date, location, type_of_event, id_event* (Event), id_user_customer* (User), id_seat* (Seat), id_cart* (Cart) )
- artist_Exhibits_Gallery ( id_event_gallery* (Event), id_user_artist* (User) )
- artist_acts_Theatre ( id_event_theatre* (Event), id_user_artist* (User) )
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.