Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUv70115d2ec5da
diff --git a/docs/ruvector-postgres/scripts/cleanup.sh b/docs/ruvector-postgres/scripts/cleanup.sh
new file mode 100644
index 0000000000..84a5dd2d2c
--- /dev/null
+++ b/docs/ruvector-postgres/scripts/cleanup.sh
@@ -0,0 +1,41 @@
+#!/bin/bash
+# Clean up RuVector PostgreSQL data
+
+set -e
+
+HOST="${PGHOST:-localhost}"
+PORT="${PGPORT:-5432}"
+DATABASE="${PGDATABASE:-claude_flow}"
+USER="${PGUSER:-claude}"
+PASSWORD="${PGPASSWORD:-claude-flow-test}"
+
+echo "🧹 Cleaning up RuVector PostgreSQL"
+echo "=========================================="
+echo ""
+echo "⚠️ WARNING: This will delete ALL data in the claude_flow schema!"
+echo ""
+read -p "Are you sure? (y/N) " -n 1 -r
+echo ""
+
+if [[ ! $REPLY =~ ^[Yy]$ ]]; then
+ echo "Cancelled."
+ exit 0
+fi
+
+echo ""
+echo "Dropping schema..."
+PGPASSWORD=$PASSWORD psql -h $HOST -p $PORT -U $USER -d $DATABASE -c \
+ "DROP SCHEMA IF EXISTS claude_flow CASCADE;"
+
+echo "Recreating schema..."
+PGPASSWORD=$PASSWORD psql -h $HOST -p $PORT -U $USER -d $DATABASE -c \
+ "CREATE SCHEMA claude_flow; GRANT ALL ON SCHEMA claude_flow TO $USER;"
+
+echo ""
+echo "✅ Cleanup complete!"
+echo ""
+echo "To reinitialize, run:"
+echo " docker-compose down -v && docker-compose up -d"
+echo ""
+echo "Or run the init script manually:"
+echo " ./scripts/run-migrations.sh"