fix: collection remove field after migrated
This commit is contained in:
		
							parent
							
								
									a564f78872
								
							
						
					
					
						commit
						6a7240816e
					
				@ -22,6 +22,7 @@ export default class extends Migration {
 | 
				
			|||||||
      const exists = await field.existsInDb({ transaction });
 | 
					      const exists = await field.existsInDb({ transaction });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (!exists) {
 | 
					      if (!exists) {
 | 
				
			||||||
 | 
					        collection.removeField('uiSchemaUid');
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user