mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-19 05:09:40 +02:00
feat: Move alembic config into mealie package for easier distribution (#4329)
This commit is contained in:
parent
f1e9615efd
commit
a6cbf1308e
48 changed files with 24 additions and 37 deletions
|
@ -2,9 +2,9 @@ import importlib.util
|
|||
import pathlib
|
||||
from functools import lru_cache
|
||||
|
||||
from mealie.db.init_db import PROJECT_DIR
|
||||
from mealie.db.init_db import ALEMBIC_DIR
|
||||
|
||||
ALEMBIC_MIGRATIONS = PROJECT_DIR / "alembic" / "versions"
|
||||
ALEMBIC_MIGRATIONS = ALEMBIC_DIR / "versions"
|
||||
|
||||
|
||||
def import_file(module_name: str, file_path: pathlib.Path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue