diff --git a/models/ride.py b/models/ride.py index 0f93fc2..f920aca 100644 --- a/models/ride.py +++ b/models/ride.py @@ -39,5 +39,7 @@ This model includes the following columns: - `ride_distance` and `ride_duration`: Floats and integers for the distance and duration of the ride. - `ride_fare`: A float for the fare amount of the ride. - `created_at` and `updated_at`: Datetime columns for when the ride was created and last updated. + dispatch_status = Column(String, nullable=False, default='pending') + dispatch_time = Column(DateTime, nullable=True) The model also includes relationships to the `User` model for the rider and driver, using the `rider_id` and `driver_id` foreign keys. \ No newline at end of file