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")