MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / migrate-sessions.ts

File migrate-sessions.ts

packages/db/scripts/migrate-sessions.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// One-off migration: convert legacy `session:{sessionId}` Redis blobs +
2// delayed BullMQ `sessionEnd:{projectId}:{deviceId}` jobs into the new
3// session-buffer key scheme:
4//

Callers

nothing calls this directly

Calls 3

mainFunction · 0.70
catchMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected