hermes-web-cli/json/hermes_services.json
yumoqing 8ba95106e7 fix: Correct database table definitions according to specification
- Fix hermes_services.json with proper four-section format (summary/fields/indexes/codes)
- Fix hermes_service_sessions.json with proper four-section format
- Update CRUD definitions to match actual table fields
- Remove non-existent fields (user_id, api_key) from service table
- Add proper indexes and field constraints
- Follow database-table-definition-spec exactly
2026-04-21 16:22:22 +08:00

21 lines
479 B
JSON

{
"name": "hermes_services_crud",
"table": "hermes_services",
"operations": {
"create": {
"fields": ["name", "service_url", "description", "status"],
"required": ["name", "service_url"]
},
"read": {
"filters": ["status", "id", "name"]
},
"update": {
"fields": ["name", "service_url", "description", "status"]
},
"delete": {
"soft_delete": true,
"field": "status",
"deleted_value": "inactive"
}
}
}