fix(ui-schema-storage): when the collection is deleted, the block template is also deleted
This commit is contained in:
parent
4ec19e9c0c
commit
52ed4f488a
@ -39,6 +39,7 @@ export default defineCollection({
|
|||||||
target: 'collections',
|
target: 'collections',
|
||||||
foreignKey: 'collectionName',
|
foreignKey: 'collectionName',
|
||||||
targetKey: 'name',
|
targetKey: 'name',
|
||||||
|
onDelete: 'CASCADE',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user