This commit is contained in:
parent
8e0b252c92
commit
0c4b036b47
@ -55,7 +55,7 @@ ma.init_app(app)
|
|||||||
influx_db.init_app(app)
|
influx_db.init_app(app)
|
||||||
|
|
||||||
with app.app_context():
|
with app.app_context():
|
||||||
influx_db.database.create(INFLUXDB_DB)
|
# influx_db.database.create(INFLUXDB_DB)
|
||||||
db.create_all()
|
db.create_all()
|
||||||
|
|
||||||
api.add_resource(SampleResource, "/sample")
|
api.add_resource(SampleResource, "/sample")
|
||||||
|
Loading…
Reference in New Issue
Block a user