From ae57f2f9da1cbfb88149a721db3ee39b5b849172 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 17 Mar 2026 21:27:43 -0400 Subject: [PATCH] fix: always set version_locations explicitly in migration runner --- fablednetmon/core/migration_runner.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fablednetmon/core/migration_runner.py b/fablednetmon/core/migration_runner.py index 7239239..a4ada4d 100644 --- a/fablednetmon/core/migration_runner.py +++ b/fablednetmon/core/migration_runner.py @@ -29,8 +29,7 @@ def run_migrations(db_url: str, plugin_migration_dirs: list[Path] | None = None) if pv.exists(): version_locs.append(str(pv)) - if len(version_locs) > 1: - cfg.set_main_option("version_locations", " ".join(version_locs)) + cfg.set_main_option("version_locations", " ".join(version_locs)) logger.info("Running migrations (version_locations: %s)", " ".join(version_locs)) command.upgrade(cfg, "heads")