mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 08:14:30 -04:00
feat: Move alembic config into mealie package for easier distribution (#4329)
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user