fix: set onDelete CASCADE
This commit is contained in:
		
							parent
							
								
									47bd72fa49
								
							
						
					
					
						commit
						c6e1fd2d5f
					
				@ -12,7 +12,8 @@ export default {
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      type: 'belongsTo',
 | 
					      type: 'belongsTo',
 | 
				
			||||||
      name: 'field'
 | 
					      name: 'field',
 | 
				
			||||||
 | 
					      onDelete: 'CASCADE',
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      type: 'jsonb',
 | 
					      type: 'jsonb',
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user