Changes between Version 1 and Version 2 of RelationalSchema
- Timestamp:
- 12/17/24 13:02:52 (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RelationalSchema
v1 v2 21 21 `STUDENT`(__***account_email**__ (`ACCOUNT`), university, index) 22 22 23 `DRIVER`(__***account_email**__ (`ACCOUNT`), years_experience , *company (`TRANSPORT_ORGANIZER`))23 `DRIVER`(__***account_email**__ (`ACCOUNT`), years_experience) 24 24 25 25 `VEHICLE`(__**plate_num**__, model, brand, capacity, year_manuf) … … 47 47 `TRIP_STOPS`(__***trip**__, __***location**__, at_time) 48 48 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) 50 50 51 51 `STUDENT_TICKET`(__***ticket_id**__ (`TICKET`), discount) … … 53 53 `CHILD_TICKET`(__***ticket_id**__ (`TICKET`), discount, embg, parent_embg) 54 54 55 `PAYMENT`(__**payment_id**__, __*** by_account**__ (`ACCOUNT`), date, total_price, n_tickets)55 `PAYMENT`(__**payment_id**__, __***account_email**__ (`ACCOUNT`), date, total_price, n_tickets) 56 56 57 `FAVORITE`(__***route**__, __***account **__)57 `FAVORITE`(__***route**__, __***account_email**__ (`ACCOUNT`)) 58 58 59 `REVIEW`(__**review_id**__, __***account **__, *ticket, description, rating)59 `REVIEW`(__**review_id**__, __***account_email**__ (`ACCOUNT`), *ticket_id, description, rating) 60 60 61 61 == DDL - Creation and Deletion of Tables ==