mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/hive-mind/session-manager.js
This commit is contained in:
1 parent
d459f2c4b5
commit
72efeed9be
2 files changed
+8
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
{"checkpoint": "task-20250826-161915", "task": "this error is back. @ruvnet ➜ /workspaces/neural-flow-trader (main) $ npx claude-flow@alpha hive-m", "timestamp": "2025-08-26T16:19:16Z", "commit": "2bf0861744c33bcd11a2f46631e580a078eaedbb", "github_release": "true"}
|
||||
@@ -160,11 +160,17 @@ To enable persistence, see: https://github.com/ruvnet/claude-code-flow/docs/wind
|
||||
return;
|
||||
}
|
||||
try {
|
||||
// Check if parent_pid column exists
|
||||
// Check if required columns exist
|
||||
const columns = this.db.prepare('PRAGMA table_info(sessions)').all();
|
||||
const hasSwarmName = columns.some((col) => col.name === 'swarm_name');
|
||||
const hasParentPid = columns.some((col) => col.name === 'parent_pid');
|
||||
const hasChildPids = columns.some((col) => col.name === 'child_pids');
|
||||
|
||||
if (!hasSwarmName) {
|
||||
this.db.exec('ALTER TABLE sessions ADD COLUMN swarm_name TEXT');
|
||||
console.log('Added swarm_name column to sessions table');
|
||||
}
|
||||
|
||||
if (!hasParentPid) {
|
||||
this.db.exec('ALTER TABLE sessions ADD COLUMN parent_pid INTEGER');
|
||||
console.log('Added parent_pid column to sessions table');
|
||||
|
||||
Reference in new issue
Block a user