feat: ui-schema-tree-path descendant index (#218)
This commit is contained in:
parent
3c55ac7474
commit
2efbe84fa6
@ -1,3 +1,5 @@
|
|||||||
|
import { CollectionOptions } from '@nocobase/database';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'uiSchemaTreePath',
|
name: 'uiSchemaTreePath',
|
||||||
autoGenId: false,
|
autoGenId: false,
|
||||||
@ -12,6 +14,7 @@ export default {
|
|||||||
type: 'string',
|
type: 'string',
|
||||||
name: 'descendant',
|
name: 'descendant',
|
||||||
primaryKey: true,
|
primaryKey: true,
|
||||||
|
index: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'integer',
|
type: 'integer',
|
||||||
@ -32,4 +35,4 @@ export default {
|
|||||||
comment: 'sort of node in adjacency',
|
comment: 'sort of node in adjacency',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
} as CollectionOptions;
|
||||||
|
Loading…
Reference in New Issue
Block a user