/// migrate((app) => { const collection = app.findCollectionByNameOrId("pbc_986407980") // update field collection.fields.addAt(7, new Field({ "exceptDomains": null, "hidden": false, "id": "email698812751", "name": "customer_email", "onlyDomains": null, "presentable": false, "required": true, "system": false, "type": "email" })) return app.save(collection) }, (app) => { const collection = app.findCollectionByNameOrId("pbc_986407980") // update field collection.fields.addAt(7, new Field({ "exceptDomains": null, "hidden": false, "id": "email698812751", "name": "customer_email", "onlyDomains": null, "presentable": false, "required": false, "system": false, "type": "email" })) return app.save(collection) })