mirror of
https://github.com/superdesigndev/treg.git
synced 2026-10-02 03:24:35 +08:00
refactor(alembic): the migration environment ships inside the package - a pip install could never migrate from repo-root alembic/
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
[alembic]
|
||||
script_location = %(here)s/alembic
|
||||
script_location = %(here)s/src/treg/alembic
|
||||
prepend_sys_path = .
|
||||
path_separator = os
|
||||
sqlalchemy.url =
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
Alembic migrations for the tools-registry server schema.
|
||||
|
||||
The application continues to run treg.db.init_db at startup until refactor stage 5.
|
||||
@@ -0,0 +1,4 @@
|
||||
Alembic migrations for the tools-registry server schema.
|
||||
|
||||
This directory ships inside the wheel. treg.maintenance runs Alembic before release tasks.
|
||||
The frozen treg.db.init_db path remains for legacy adoption and temporary lifespan/worker redundancy.
|
||||
@@ -0,0 +1 @@
|
||||
"""Alembic migration environment shipped inside the server package."""
|
||||
Reference in New Issue
Block a user