Refactor Alembic setup and add migration helper script.

Updated Alembic configuration and folder structure to reference the `app` module. Introduced a new `migrate.py` script to manage migrations efficiently with commands for generating, applying, and inspecting migrations. Adjusted `env.py` to ensure proper model imports and use environment-driven database URLs.
This commit is contained in:
2025-02-28 09:22:05 +01:00
parent dfeb10c351
commit a60eb045b4
6 changed files with 220 additions and 10 deletions

View File

@@ -0,0 +1 @@
Generic single-database configuration.