add staging deployment to CI
Compare changes
+ 144
− 47
@@ -4,6 +4,8 @@ Module to interact with the database
@@ -15,36 +17,50 @@ def get_waiting_time(place: str, db: Session):
@@ -75,7 +91,7 @@ def get_avg_graph_points(place: str, weekday: int, min_time: time, max_time: tim
@@ -94,14 +110,16 @@ def get_avg_graph(place: str, db: Session):
@@ -134,7 +152,7 @@ def get_current_graph_points(place: str, current_date: date, min_time: time, max
@@ -149,48 +167,60 @@ def get_current_graph_points(place: str, current_date: date, min_time: time, max
@@ -206,7 +236,10 @@ def delete_comment(id: int, db: Session):
@@ -234,10 +267,7 @@ def delete_news(id: int, db: Session):
@@ -259,7 +289,8 @@ def get_timeslot(place: str, day: int, timeslot: bool, db: Session):
@@ -273,7 +304,9 @@ def delete_opening_hours(id: int, db: Session):
@@ -282,7 +315,9 @@ def delete_opening_hours(id: int, db: Session):
@@ -311,18 +346,80 @@ def get_restaurants(db: Session):