wiki:RelationalDesign

Version 2 (modified by 181085, 2 years ago) ( diff )

--

Релациска Шема

  • Admin(Admin_Id, Name*, Surname*, Email*, Password*)
  • Driver(Driver_Id, Name*, Surname*, Email*, Password*, Profile_Picture, Price_per_km, Status, is_Approved, Level,Rewards_Id, Admin_Id, Car_Id*)
  • Rewards(Rewards_Id, Grade, Num_grades)
  • Car(Car_Id, License_plate*, Type_Id*)
  • Car_Type(Type_Id, Make*, Model, Year*)
  • Drive(Drive_Id, Destination Coordinates, Grade, Status, Km_travelled, Pick_up_address_Id*, Payment_Id)
  • Pick_Up_Address(Pick_up_address_Id, City, Street, Number, Location Coordinates)
  • Payment(Payment_Id, Sum_Payed*, Drive_Id*)
  • Passenger(Passenger_Id, Name*, Surname*, Email*, Password*)
  • Driver_Confirm_Drive(Driver_Id*, Drive_Id*)
  • Passenger_Request_Drive(Passenger_Id*, Drive_Id*)

DDL скрипта за бришење на табелите и креирање на табелите

DML скрипта за полнење на табелите со податоци

Релациски дијаграм изваден од DBeaver

Attachments (3)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.