Creates the db

This commit is contained in:
Colin Goutte 2021-09-29 10:50:45 +02:00
parent 2437c802fe
commit a14ad8f5f7
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ app = FastAPI()
mesures = defaultdict(list)
notifications = defaultdict(list)
Base.metadata.create_all(bind=engine)
class Notifier:
@staticmethod