/// migrate((app) => { const collection = app.findCollectionByNameOrId("my9ej2vdwzwoqov") // add field collection.fields.addAt(1, new Field({ "hidden": false, "id": "bool1748787223", "name": "published", "presentable": false, "required": false, "system": false, "type": "bool" })) return app.save(collection) }, (app) => { const collection = app.findCollectionByNameOrId("my9ej2vdwzwoqov") // remove field collection.fields.removeById("bool1748787223") return app.save(collection) })