This commit is contained in:
Waylon Walker 2024-03-01 10:25:48 -06:00
parent f42e8e4807
commit 841723103c
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
2 changed files with 0 additions and 4 deletions

View file

@ -8,7 +8,6 @@ sqlite_url = f"sqlite:///{sqlite_file_name}"
@lru_cache
def get_engine():
engine = create_engine(sqlite_url)
SQLModel.metadata.create_all(engine)
return engine

View file

@ -1,4 +1,3 @@
from rich.console import Console
from sqlmodel_base.database import get_engine
@ -8,8 +7,6 @@ engine = get_engine()
hero_app = Hero.cli
console = Console()
# @hero_app.callback()
# def hero():
# "model cli"