refactor(models): convert to json format per database-table-definition-spec
This commit is contained in:
parent
f475b2f731
commit
e99312967d
@ -3,7 +3,9 @@
|
||||
{
|
||||
"name": "harnessed_reasoning_config",
|
||||
"title": "Hermes Reasoning module configuration settings",
|
||||
"primary": "id"
|
||||
"primary": [
|
||||
"id"
|
||||
]
|
||||
}
|
||||
],
|
||||
"fields": [
|
||||
@ -39,7 +41,7 @@
|
||||
"name": "enable_cross_session_search",
|
||||
"title": "Enable automatic session search",
|
||||
"type": "str",
|
||||
"length": "1",
|
||||
"length": 1,
|
||||
"nullable": "no",
|
||||
"default": "1"
|
||||
},
|
||||
@ -47,7 +49,7 @@
|
||||
"name": "enable_skill_auto_loading",
|
||||
"title": "Enable automatic skill loading",
|
||||
"type": "str",
|
||||
"length": "1",
|
||||
"length": 1,
|
||||
"nullable": "no",
|
||||
"default": "1"
|
||||
},
|
||||
@ -55,7 +57,7 @@
|
||||
"name": "safety_mode",
|
||||
"title": "Safety mode: strict, moderate, lenient",
|
||||
"type": "str",
|
||||
"length": "20",
|
||||
"length": 20,
|
||||
"nullable": "no",
|
||||
"default": "strict"
|
||||
},
|
||||
@ -70,7 +72,7 @@
|
||||
"name": "enable_error_recovery",
|
||||
"title": "Enable automatic error recovery",
|
||||
"type": "str",
|
||||
"length": "1",
|
||||
"length": 1,
|
||||
"nullable": "no",
|
||||
"default": "1"
|
||||
},
|
||||
@ -161,7 +163,9 @@
|
||||
{
|
||||
"name": "idx_user_config",
|
||||
"idxtype": "index",
|
||||
"idxfields": ["user_id"]
|
||||
"idxfields": [
|
||||
"user_id"
|
||||
]
|
||||
}
|
||||
],
|
||||
"codes": []
|
||||
|
||||
@ -3,7 +3,9 @@
|
||||
{
|
||||
"name": "harnessed_reasoning_sessions",
|
||||
"title": "Reasoning sessions with execution plans and context awareness",
|
||||
"primary": "id"
|
||||
"primary": [
|
||||
"id"
|
||||
]
|
||||
}
|
||||
],
|
||||
"fields": [
|
||||
@ -82,17 +84,26 @@
|
||||
{
|
||||
"name": "idx_user_status",
|
||||
"idxtype": "index",
|
||||
"idxfields": ["user_id", "status"]
|
||||
"idxfields": [
|
||||
"user_id",
|
||||
"status"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "idx_user_created",
|
||||
"idxtype": "index",
|
||||
"idxfields": ["user_id", "created_at"]
|
||||
"idxtype": "index",
|
||||
"idxfields": [
|
||||
"user_id",
|
||||
"created_at"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "idx_status_created",
|
||||
"idxtype": "index",
|
||||
"idxfields": ["status", "created_at"]
|
||||
"idxfields": [
|
||||
"status",
|
||||
"created_at"
|
||||
]
|
||||
}
|
||||
],
|
||||
"codes": []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user