1
0
Fork 0
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:
Michael Chisholm 2024-12-05 02:57:57 +10:00 committed by GitHub
parent f1e9615efd
commit a6cbf1308e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
48 changed files with 24 additions and 37 deletions

View file

@ -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):