generated from Luis/nextjs-python-web-template
georgs5 (#31)
Reviewed-on: #31
This commit was merged in pull request #31.
This commit is contained in:
@@ -33,6 +33,8 @@ async def lifespan(app: FastAPI) -> Any:
|
||||
|
||||
def setup_app() -> FastAPI:
|
||||
# bind sql engine
|
||||
# TODO comment aut and add flag to run with pupulated data rm *.sql run pytest with marked then start clan webui
|
||||
# https://docs.pytest.org/en/7.1.x/example/markers.html
|
||||
sql_models.Base.metadata.drop_all(engine)
|
||||
sql_models.Base.metadata.create_all(bind=engine)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user