fix(tree-collection): onDelete: CASCADE
This commit is contained in:
parent
18a75e096c
commit
05ed569d21
@ -27,6 +27,7 @@ export const tree: ICollectionTemplate = {
|
||||
name: 'parent',
|
||||
foreignKey: 'parentId',
|
||||
treeParent: true,
|
||||
onDelete: 'CASCADE',
|
||||
uiSchema: {
|
||||
title: '{{t("Parent")}}',
|
||||
'x-component': 'RecordPicker',
|
||||
@ -46,6 +47,7 @@ export const tree: ICollectionTemplate = {
|
||||
name: 'children',
|
||||
foreignKey: 'parentId',
|
||||
treeChildren: true,
|
||||
onDelete: 'CASCADE',
|
||||
uiSchema: {
|
||||
title: '{{t("Children")}}',
|
||||
'x-component': 'RecordPicker',
|
||||
|
Loading…
Reference in New Issue
Block a user