From c05fd5dc6de0d1553d673de46ae17c155e06a36e Mon Sep 17 00:00:00 2001 From: yohlo Date: Wed, 1 Oct 2025 14:02:13 -0500 Subject: [PATCH] pb --- ...759345318_updated_player_badge_progress.js | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pb_migrations/1759345318_updated_player_badge_progress.js 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) +})