diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-06-05 11:23:34 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-06-05 11:23:34 -0700 |
| commit | 95d56dd94153cf464ada2c9bbbe840a3da14f98a (patch) | |
| tree | 9967f18d5f0a6f0f189078f0fa05929bd234980f /pb_migrations/1780542767_updated_list.js | |
init commit
Diffstat (limited to 'pb_migrations/1780542767_updated_list.js')
| -rw-r--r-- | pb_migrations/1780542767_updated_list.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pb_migrations/1780542767_updated_list.js b/pb_migrations/1780542767_updated_list.js new file mode 100644 index 0000000..181bc1f --- /dev/null +++ b/pb_migrations/1780542767_updated_list.js @@ -0,0 +1,24 @@ +/// <reference path="../pb_data/types.d.ts" /> +migrate((app) => { + const collection = app.findCollectionByNameOrId("pbc_879072730") + + // update collection data + unmarshal({ + "createRule": "", + "updateRule": "", + "viewRule": "" + }, collection) + + return app.save(collection) +}, (app) => { + const collection = app.findCollectionByNameOrId("pbc_879072730") + + // update collection data + unmarshal({ + "createRule": null, + "updateRule": null, + "viewRule": null + }, collection) + + return app.save(collection) +}) |
