/// migrate((app) => { const collection = app.findCollectionByNameOrId("_pb_users_auth_") // update collection data unmarshal({ "createRule": null, "deleteRule": null, "listRule": "@request.auth.id != \"\"", "viewRule": "@request.auth.id != \"\"" }, collection) return app.save(collection) }, (app) => { const collection = app.findCollectionByNameOrId("_pb_users_auth_") // update collection data unmarshal({ "createRule": "", "deleteRule": "id = @request.auth.id", "listRule": "id = @request.auth.id", "viewRule": "id = @request.auth.id" }, collection) return app.save(collection) })