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

@@ -70,6 +70,12 @@ def test_run_migrations_0_to_1(monkeypatch: pytest.MonkeyPatch) -> None:
"notes": ("TEXT", 0, 0),
"cycle_id": ("INTEGER", 0, 0),
},
"exchanges": {
"id": ("INTEGER", 1, 1),
"user_id": ("INTEGER", 1, 0),
"name": ("TEXT", 1, 0),
"notes": ("TEXT", 0, 0),
},
"sessions": {
"id": ("INTEGER", 1, 1),
"user_id": ("INTEGER", 1, 0),
@@ -97,7 +103,9 @@ def test_run_migrations_0_to_1(monkeypatch: pytest.MonkeyPatch) -> None:
{"table": "users", "from": "user_id", "to": "id"},
],
"users": [],
"exchanges": [],
"exchanges": [
{"table": "users", "from": "user_id", "to": "id"},
],
}
with engine.connect() as conn: