/// migrate((app) => { const collection = app.findCollectionByNameOrId("pbc_144770472") // add field collection.fields.addAt(19, new Field({ "autogeneratePattern": "", "hidden": false, "id": "text2376425770", "max": 0, "min": 0, "name": "funscriptVibrate", "pattern": "", "presentable": false, "primaryKey": false, "required": false, "system": false, "type": "text" })) // add field collection.fields.addAt(20, new Field({ "autogeneratePattern": "", "hidden": false, "id": "text4278982190", "max": 0, "min": 0, "name": "funscriptThrust", "pattern": "", "presentable": false, "primaryKey": false, "required": false, "system": false, "type": "text" })) // add field collection.fields.addAt(21, new Field({ "autogeneratePattern": "", "hidden": false, "id": "text7357270", "max": 0, "min": 0, "name": "audioIntegratedLufs", "pattern": "", "presentable": false, "primaryKey": false, "required": false, "system": false, "type": "text" })) // add field collection.fields.addAt(22, new Field({ "autogeneratePattern": "", "hidden": false, "id": "text513636770", "max": 0, "min": 0, "name": "audioLoudnessRange", "pattern": "", "presentable": false, "primaryKey": false, "required": false, "system": false, "type": "text" })) // add field collection.fields.addAt(23, new Field({ "autogeneratePattern": "", "hidden": false, "id": "text2917960678", "max": 0, "min": 0, "name": "audioTruePeak", "pattern": "", "presentable": false, "primaryKey": false, "required": false, "system": false, "type": "text" })) return app.save(collection) }, (app) => { const collection = app.findCollectionByNameOrId("pbc_144770472") // remove field collection.fields.removeById("text2376425770") // remove field collection.fields.removeById("text4278982190") // remove field collection.fields.removeById("text7357270") // remove field collection.fields.removeById("text513636770") // remove field collection.fields.removeById("text2917960678") return app.save(collection) })