/// migrate((app) => { const collection = app.findCollectionByNameOrId("pbc_2337082678") // update field collection.fields.addAt(1, new Field({ "hidden": false, "id": "select2363381545", "maxSelect": 1, "name": "type", "presentable": true, "required": false, "system": false, "type": "select", "values": [ "wheel", "workstation" ] })) return app.save(collection) }, (app) => { const collection = app.findCollectionByNameOrId("pbc_2337082678") // update field collection.fields.addAt(1, new Field({ "hidden": false, "id": "select2363381545", "maxSelect": 1, "name": "type", "presentable": false, "required": false, "system": false, "type": "select", "values": [ "wheel", "workstation" ] })) return app.save(collection) })