refine influx stuff
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2021-06-13 20:07:21 +02:00
parent 211be6cf96
commit 8e0b252c92
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -55,6 +55,7 @@ ma.init_app(app)
influx_db.init_app(app)
with app.app_context():
influx_db.database.create(INFLUXDB_DB)
db.create_all()
api.add_resource(SampleResource, "/sample")