- models/ 重建为正确表定义格式(summary+fields+indexes),覆盖全部 11 个表 修正原 models/ 误放 CRUD 格式副本(缺 summary)导致 json2ddl 100% 失败被静默忽略 - json/ 6 个 CRUD 定义 tblname 加前缀 + 文件改名 - 129 处 SQL/sor 表名加 rag_ 前缀(URL 路径 knowledge_bases_list 保持不变) - 新增 init/migrate_rag_prefix.sql 幂等 RENAME TABLE 迁移
41 lines
991 B
JSON
41 lines
991 B
JSON
{
|
|
"tblname": "rag_org_storage_limits",
|
|
"params": {
|
|
"title": "机构存储限额",
|
|
"browserfields": [
|
|
{
|
|
"field": "org_id",
|
|
"title": "机构ID",
|
|
"width": "35%"
|
|
},
|
|
{
|
|
"field": "limit_bytes",
|
|
"title": "限额(字节)",
|
|
"width": "35%"
|
|
},
|
|
{
|
|
"field": "updated_at",
|
|
"title": "更新时间",
|
|
"width": "30%"
|
|
}
|
|
],
|
|
"editfields": [
|
|
{
|
|
"field": "org_id",
|
|
"uitype": "Text",
|
|
"required": true
|
|
},
|
|
{
|
|
"field": "limit_bytes",
|
|
"uitype": "Text",
|
|
"required": true,
|
|
"default": "104857600"
|
|
}
|
|
],
|
|
"searchfields": [
|
|
"org_id"
|
|
],
|
|
"sort": "updated_at desc"
|
|
}
|
|
}
|