Files
ruflo/tests/run-schema-test.sh
T
rUvandClaude 020d0c2722 fix: Add missing role column to agents table in init schema
- Added role TEXT column to agents table in init/index.js
- Fixes 'table agents has no column named role' error when running hive-mind wizard
- Maintains backward compatibility with nullable column
- Users with existing databases can manually add column or reinitialize

Fixes #403

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-20 15:21:10 +00:00

19 lines
515 B
Bash
Executable File

#!/bin/bash
# Run the Hive Mind schema test for issue #403
echo "Running Hive Mind Database Schema Test (Issue #403)..."
echo "=================================================="
echo ""
# Run the specific test file
npx jest tests/integration/hive-mind-schema.test.js --verbose
# Check exit code
if [ $? -eq 0 ]; then
echo ""
echo "✅ Test passed! The schema fix for issue #403 is working correctly."
else
echo ""
echo "❌ Test failed! The schema issue may not be fully resolved."
exit 1
fi