mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:38:51 +00:00
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',
|
||||
foreignKey: 'collectionName',
|
||||
targetKey: 'name',
|
||||
onDelete: 'CASCADE',
|
||||
},
|
||||
],
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user