feat: macro series

This commit is contained in:
OpenSquared
2026-07-01 16:16:51 +02:00
parent 776c19e1ae
commit 8b59eff744
3 changed files with 45 additions and 8 deletions

View File

@@ -1228,6 +1228,16 @@ def init_db():
except Exception:
pass
# ── Migrations ────────────────────────────────────────────────────────────
# Re-assign ADP events that were incorrectly mapped to PAYEMS
try:
c.execute(
"UPDATE ff_calendar SET series_id = 'ADP_NFP' "
"WHERE series_id = 'PAYEMS' AND event_name LIKE 'ADP%'"
)
except Exception:
pass
conn.commit()
conn.close()