fix(ui-schema-storage): when the collection is deleted, the block template is also deleted

This commit is contained in:
chenos 2023-02-18 11:20:29 +08:00
parent 4ec19e9c0c
commit 52ed4f488a

View File

@ -39,6 +39,7 @@ export default defineCollection({
target: 'collections',
foreignKey: 'collectionName',
targetKey: 'name',
onDelete: 'CASCADE',
},
],
});