diff --git a/packages/plugins/@nocobase/plugin-collection-manager/src/server/migrations/20230225111112-drop-ui-schema-relation.ts b/packages/plugins/@nocobase/plugin-collection-manager/src/server/migrations/20230225111112-drop-ui-schema-relation.ts index 9f6bb3e2c1..cd410c70a0 100644 --- a/packages/plugins/@nocobase/plugin-collection-manager/src/server/migrations/20230225111112-drop-ui-schema-relation.ts +++ b/packages/plugins/@nocobase/plugin-collection-manager/src/server/migrations/20230225111112-drop-ui-schema-relation.ts @@ -22,6 +22,7 @@ export default class extends Migration { const exists = await field.existsInDb({ transaction }); if (!exists) { + collection.removeField('uiSchemaUid'); return; }