fix: always set version_locations explicitly in migration runner

This commit is contained in:
2026-03-17 21:27:43 -04:00
parent 415fe7eba9
commit ae57f2f9da
+1 -2
View File
@@ -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")