fix: set onDelete CASCADE

This commit is contained in:
chenos 2021-01-27 11:24:23 +08:00
parent 47bd72fa49
commit c6e1fd2d5f

View File

@ -12,7 +12,8 @@ export default {
},
{
type: 'belongsTo',
name: 'field'
name: 'field',
onDelete: 'CASCADE',
},
{
type: 'jsonb',