From ffc367bb5d6e573e743cd739754894b0422e703f Mon Sep 17 00:00:00 2001 From: DeepZone Date: Wed, 20 May 2026 17:38:09 +0100 Subject: [PATCH] feat: add alembic migration baseline and db schema status --- README.md | 12 ++-- RELEASE_NOTES.md | 21 ++++++ backend/Dockerfile | 2 + backend/alembic/env.py | 39 +++++++++++ backend/alembic/script.py.mako | 23 +++++++ .../alembic/versions/0001_initial_schema.py | 65 +++++++++++++++++++ backend/app/api/routes_health.py | 2 +- backend/app/api/routes_system.py | 2 +- backend/app/core/system_status.py | 38 ++++++++++- backend/app/main.py | 5 +- backend/pyproject.toml | 2 +- backend/tests/test_api_smoke.py | 24 ++++++- docs/operations/backup-restore.md | 12 ++++ docs/operations/database-migrations.md | 30 +++++++++ docs/operations/upgrades.md | 27 ++++++-- frontend/package-lock.json | 4 +- frontend/package.json | 2 +- frontend/src/App.tsx | 9 +-- frontend/src/components/Layout.tsx | 2 +- frontend/src/types.ts | 2 +- 20 files changed, 297 insertions(+), 26 deletions(-) create mode 100644 backend/alembic/env.py create mode 100644 backend/alembic/script.py.mako create mode 100644 backend/alembic/versions/0001_initial_schema.py create mode 100644 docs/operations/database-migrations.md diff --git a/README.md b/README.md index d99062f..6239c8d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ RouteForge is a read-only routing preflight and explainability tool for BGP, RPKI, Registry/IRR and Routing Visibility checks. -Current user-facing version: **v0.5.2-beta**. +Current user-facing version: **v0.5.3-beta**.