Files
Recipie2/pb/pb_migrations/1763340588_updated_recipes.js
2025-11-17 13:50:29 +13:00

25 lines
535 B
JavaScript

/// <reference path="../pb_data/types.d.ts" />
migrate((app) => {
const collection = app.findCollectionByNameOrId("pbc_842702175")
// update collection data
unmarshal({
"createRule": "",
"deleteRule": "",
"updateRule": ""
}, collection)
return app.save(collection)
}, (app) => {
const collection = app.findCollectionByNameOrId("pbc_842702175")
// update collection data
unmarshal({
"createRule": null,
"deleteRule": null,
"updateRule": null
}, collection)
return app.save(collection)
})