We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e53af41 commit 9faebc9Copy full SHA for 9faebc9
1 file changed
core/app.py
@@ -33,6 +33,7 @@ def init_db():
33
Base.metadata.drop_all(bind=engine)
34
Base.metadata.create_all(bind=engine)
35
36
+
37
def init_extensions():
38
"""
39
Initialize database extensions such as TimescaleDB.
@@ -46,6 +47,7 @@ def init_extensions():
46
47
except DatabaseError:
48
session.rollback()
49
50
51
def init_lexicon():
52
with open("./core/lexicon.json") as f:
53
import json
0 commit comments