/// migrate((app) => { const collection = app.findCollectionByNameOrId("pbc_3945946014") // add field collection.fields.addAt(1, new Field({ "autogeneratePattern": "", "hidden": false, "id": "text2560465762", "max": 0, "min": 0, "name": "slug", "pattern": "", "presentable": false, "primaryKey": false, "required": false, "system": false, "type": "text" })) // add field collection.fields.addAt(2, new Field({ "autogeneratePattern": "", "hidden": false, "id": "text724990059", "max": 0, "min": 0, "name": "title", "pattern": "", "presentable": false, "primaryKey": false, "required": false, "system": false, "type": "text" })) // add field collection.fields.addAt(3, new Field({ "autogeneratePattern": "", "hidden": false, "id": "text3295727154", "max": 0, "min": 0, "name": "meta_title", "pattern": "", "presentable": false, "primaryKey": false, "required": false, "system": false, "type": "text" })) // add field collection.fields.addAt(4, new Field({ "autogeneratePattern": "", "hidden": false, "id": "text3307435217", "max": 0, "min": 0, "name": "meta_description", "pattern": "", "presentable": false, "primaryKey": false, "required": false, "system": false, "type": "text" })) return app.save(collection) }, (app) => { const collection = app.findCollectionByNameOrId("pbc_3945946014") // remove field collection.fields.removeById("text2560465762") // remove field collection.fields.removeById("text724990059") // remove field collection.fields.removeById("text3295727154") // remove field collection.fields.removeById("text3307435217") return app.save(collection) })