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

21 lines
441 B
JavaScript

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