diff --git a/pb_migrations/1759345318_updated_player_badge_progress.js b/pb_migrations/1759345318_updated_player_badge_progress.js new file mode 100644 index 0000000..8d8a149 --- /dev/null +++ b/pb_migrations/1759345318_updated_player_badge_progress.js @@ -0,0 +1,20 @@ +/// +migrate((app) => { + const collection = app.findCollectionByNameOrId("pbc_1063824264") + + // update collection data + unmarshal({ + "name": "badge_progress" + }, collection) + + return app.save(collection) +}, (app) => { + const collection = app.findCollectionByNameOrId("pbc_1063824264") + + // update collection data + unmarshal({ + "name": "player_badge_progress" + }, collection) + + return app.save(collection) +})