mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 12:26:22 +00:00
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 });
|
||||
|
||||
if (!exists) {
|
||||
collection.removeField('uiSchemaUid');
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user