{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "php -r \"\nchdir('\/var\/www\/dev.campus.systemische-tools.de');\nrequire 'vendor\/autoload.php';\nrequire 'src\/Infrastructure\/Config\/DatabaseFactory.php';\n\\$db = \\Infrastructure\\Config\\DatabaseFactory::content();\n\\$stmt = \\$db->prepare('UPDATE content_orders SET collections = ? WHERE collections IS NULL');\n\\$stmt->execute(['[\\\"documents\\\"]']);\necho 'Updated: ' . \\$stmt->rowCount() . ' rows';\n\"",
"description": "Set default collections via PHP"
}
}