fix tradedashboard python
This commit is contained in:
parent
c8baff8a19
commit
0d949ce48c
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ async def index():
|
|||
@app.on_event("startup")
|
||||
async def startup():
|
||||
import alembic.config
|
||||
cfg = alembic.config.AlembicConfig(
|
||||
cfg = alembic.config.Config(
|
||||
str(Path(__file__).parent.parent / "alembic.ini")
|
||||
)
|
||||
alembic.config.main.main(command="upgrade", args=["head"], config=cfg)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue