{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "mariadb -u root -p\"$(grep 'MariaDB.*root' \/var\/www\/docs\/credentials\/credentials.md | cut -d'|' -f4 | tr -d ' ')\" ki_content -e \"\nSET FOREIGN_KEY_CHECKS = 0;\nTRUNCATE TABLE chunk_entities;\nTRUNCATE TABLE chunk_semantics;\nTRUNCATE TABLE chunk_taxonomy;\nTRUNCATE TABLE chunks;\nTRUNCATE TABLE entity_relations;\nTRUNCATE TABLE entity_synonyms;\nTRUNCATE TABLE entity_classifications;\nTRUNCATE TABLE entities;\nTRUNCATE TABLE taxonomy_terms;\nTRUNCATE TABLE ontology_classes;\nTRUNCATE TABLE document_taxonomy;\nTRUNCATE TABLE documents;\nSET FOREIGN_KEY_CHECKS = 1;\nSELECT 'Alle Tabellen geleert' as status;\n\"",
"description": "Truncate all semantic explorer tables with password"
}
}
{
"tool_response": {
"stdout": "status\nAlle Tabellen geleert",
"stderr": "",
"interrupted": false,
"isImage": false
}
}