Add PostgreSQL database option and more booking flow functionalities
This commit is contained in:
@@ -56,7 +56,7 @@ func (bs *Day) UnmarshalJSON(b []byte) error {
|
||||
}
|
||||
|
||||
type Schedule struct {
|
||||
PassengerPickupDay *Day `json:"passengerPickupDay,omitempty"`
|
||||
PassengerPickupDay *Day `json:"passengerPickupDay,omitempty" bson:"passengerPickupDay,omitempty"`
|
||||
|
||||
JourneySchedules *[]JourneySchedule `json:"journeySchedules,omitempty"`
|
||||
JourneySchedules *[]JourneySchedule `json:"journeySchedules,omitempty" bson:"journeySchedules,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user