brawlset/backend/pb_migrations/1744119600_updated_set.js

20 lines
441 B
JavaScript

/// <reference path="../pb_data/types.d.ts" />
migrate((app) => {
const collection = app.findCollectionByNameOrId("pbc_3912384429")
// update collection data
unmarshal({
"name": "mtg_set"
}, collection)
return app.save(collection)
}, (app) => {
const collection = app.findCollectionByNameOrId("pbc_3912384429")
// update collection data
unmarshal({
"name": "set"
}, collection)
return app.save(collection)
})