Changes between Version 1 and Version 2 of RelationalSchema


Ignore:
Timestamp:
12/17/24 13:02:52 (4 weeks ago)
Author:
222077
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RelationalSchema

    v1 v2  
    2121`STUDENT`(__***account_email**__ (`ACCOUNT`), university, index)
    2222
    23 `DRIVER`(__***account_email**__ (`ACCOUNT`), years_experience, *company (`TRANSPORT_ORGANIZER`))
     23`DRIVER`(__***account_email**__ (`ACCOUNT`), years_experience)
    2424
    2525`VEHICLE`(__**plate_num**__, model, brand, capacity, year_manuf)
     
    4747`TRIP_STOPS`(__***trip**__, __***location**__, at_time)
    4848
    49 `TICKET`(__**id**__, *for_trip (`TRIP`), *linked_with (`TICKET`), *gets_on_loc (`LOCATION`), *gets_off_loc (`LOCATION`), *payment, *account, *review, date_purchased, time_purchased, price, seat, two_way)
     49`TICKET`(__**id**__, *trip_id(`TRIP`), *ticket_id(`TICKET`), *gets_on_loc (`LOCATION`), *gets_off_loc (`LOCATION`), *payment_id, *account_email, *review_id, date_purchased, time_purchased, price, seat, two_way)
    5050
    5151`STUDENT_TICKET`(__***ticket_id**__ (`TICKET`), discount)
     
    5353`CHILD_TICKET`(__***ticket_id**__ (`TICKET`), discount, embg, parent_embg)
    5454
    55 `PAYMENT`(__**payment_id**__, __***by_account**__ (`ACCOUNT`), date, total_price, n_tickets)
     55`PAYMENT`(__**payment_id**__, __***account_email**__ (`ACCOUNT`), date, total_price, n_tickets)
    5656
    57 `FAVORITE`(__***route**__, __***account**__)
     57`FAVORITE`(__***route**__, __***account_email**__ (`ACCOUNT`))
    5858
    59 `REVIEW`(__**review_id**__, __***account**__, *ticket, description, rating)
     59`REVIEW`(__**review_id**__, __***account_email**__ (`ACCOUNT`), *ticket_id, description, rating)
    6060
    6161== DDL - Creation and Deletion of Tables ==