added chat history
This commit is contained in:
@@ -15,6 +15,9 @@ async def lifespan(_: FastAPI):
|
||||
settings = get_settings()
|
||||
Path(settings.data_dir).mkdir(parents=True, exist_ok=True)
|
||||
Base.metadata.create_all(bind=engine)
|
||||
from app.core.schema_migrate import ensure_schema
|
||||
|
||||
ensure_schema(engine)
|
||||
yield
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user