{
"event": "PreToolUse",
"tool_name": "mcp__mcp-db__db_execute",
"tool_input": {
"statement": "CREATE TABLE content_config_history (\n id INT PRIMARY KEY AUTO_INCREMENT,\n config_id INT NOT NULL,\n content JSON NOT NULL,\n version VARCHAR(20) NOT NULL,\n changed_by VARCHAR(100) NULL,\n change_description TEXT NULL,\n created_at DATETIME DEFAULT CURRENT_TIMESTAMP,\n \n INDEX idx_config_id (config_id),\n FOREIGN KEY (config_id) REFERENCES content_config(id) ON DELETE CASCADE\n)",
"database": "ki_content"
}
}
{
"tool_response": [
{
"type": "text",
"text": "{\n \"status\": \"success\",\n \"affected_rows\": 0,\n \"error\": null,\n \"execution_ms\": 1\n}"
}
]
}