We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9bdeee commit b472324Copy full SHA for b472324
github_stats_pages/db.py
@@ -24,8 +24,8 @@ def configure(test: bool = False, echo: bool = False) -> Engine:
24
return create_engine(sqlite_url, echo=echo)
25
26
27
-def create_db_and_tables(test: bool = False):
28
- engine = configure(test=test, echo=True)
+def create_db_and_tables(test: bool = False, echo: bool = False):
+ engine = configure(test=test, echo=echo)
29
SQLModel.metadata.create_all(engine)
30
return engine
31
0 commit comments