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