Files
kskcrmspa/pb_migrations/1787845090_updated_tasks.js
2026-08-27 19:59:17 +03:00

27 lines
579 B
JavaScript

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