/// migrate((app) => { const collection = app.findCollectionByNameOrId("_pb_users_auth_") // add field collection.fields.addAt(8, new Field({ "hidden": false, "id": "select66088533", "maxSelect": 1, "name": "supporter", "presentable": false, "required": false, "system": false, "type": "select", "values": [ "free", "tier1", "tier2", "tier3", "tier4", "tier5", "tier6" ] })) return app.save(collection) }, (app) => { const collection = app.findCollectionByNameOrId("_pb_users_auth_") // remove field collection.fields.removeById("select66088533") return app.save(collection) })