Legacy Migration

Reset All Data
Deletes everything: matches, seasons, players, and all events. Live ZMQ server configs are preserved.

Use this before a fresh import to start from a clean slate.

Import Legacy Data

Reads seasons and match events from the legacy Neon.tech PostgreSQL database and imports them into the local ZmqEvents table under a legacy://quake-stats server entry. Re-running is safe — existing legacy events are deleted and re-imported.

After Import — Full Rebuild
This will delete all match/session/standings data and rebuild from the event log.

Once legacy events are imported, run a full rebuild to process them through the ingestion pipeline. Scoring rules must be configured on each season separately.