/// migrate((app) => { const collection = app.findCollectionByNameOrId("_pb_users_auth_") // update collection data unmarshal({ "oauth2": { "mappedFields": { "avatarURL": "", "id": "patreonId" } } }, collection) return app.save(collection) }, (app) => { const collection = app.findCollectionByNameOrId("_pb_users_auth_") // update collection data unmarshal({ "oauth2": { "mappedFields": { "avatarURL": "avatar", "id": "" } } }, collection) return app.save(collection) })