feat: ui-schema-tree-path descendant index (#218)

This commit is contained in:
ChengLei Shao 2022-03-03 21:12:18 +08:00 committed by GitHub
parent 3c55ac7474
commit 2efbe84fa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,5 @@
import { CollectionOptions } from '@nocobase/database';
export default {
name: 'uiSchemaTreePath',
autoGenId: false,
@ -12,6 +14,7 @@ export default {
type: 'string',
name: 'descendant',
primaryKey: true,
index: true,
},
{
type: 'integer',
@ -32,4 +35,4 @@ export default {
comment: 'sort of node in adjacency',
},
],
};
} as CollectionOptions;