database: inhibit echoing to console
This interferes very much with the app.
This commit is contained in:
parent
c3d5983d23
commit
eb51024ca0
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ from sqlmodel import SQLModel, create_engine
|
||||||
|
|
||||||
|
|
||||||
sqlite_url = os.environ.get("DATABASE_URL", "sqlite:///database.db")
|
sqlite_url = os.environ.get("DATABASE_URL", "sqlite:///database.db")
|
||||||
engine = create_engine(sqlite_url, echo=True)
|
engine = create_engine(sqlite_url, echo=False)
|
||||||
|
|
||||||
|
|
||||||
def create_db_and_tables():
|
def create_db_and_tables():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue