several changes:
All checks were successful
Backend CI / unit-test (push) Successful in 34s

* api calls for auth

* exchange now bind to user
This commit is contained in:
2025-09-22 22:51:59 +02:00
parent 466e6ce653
commit 1750401278
14 changed files with 259 additions and 45 deletions

View File

View File

@@ -0,0 +1,13 @@
import sys
from pathlib import Path
from sqlmodel import create_engine
project_parent = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(project_parent))
import settings # noqa: E402
from trading_journal import db_migration # noqa: E402
db_engine = create_engine(settings.settings.database_url, echo=True)
db_migration.run_migrations(db_engine)