Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
main
Function · 0.70
catch
Method · 0.45
error
Method · 0.45
Tested by
no test coverage detected