From a14ad8f5f7f1421e1768f1abbbd4c2d75a57827d Mon Sep 17 00:00:00 2001 From: Colin Goutte Date: Wed, 29 Sep 2021 10:50:45 +0200 Subject: [PATCH] Creates the db --- papi/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/papi/main.py b/papi/main.py index 0204f79..ce92a63 100644 --- a/papi/main.py +++ b/papi/main.py @@ -15,6 +15,8 @@ app = FastAPI() mesures = defaultdict(list) notifications = defaultdict(list) +Base.metadata.create_all(bind=engine) + class Notifier: @staticmethod