aboutsummaryrefslogtreecommitdiffstats
path: root/pb_migrations/1780542767_updated_list.js
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-06-05 11:23:34 -0700
committerPinapelz <yukais@pinapelz.com>2026-06-05 11:23:34 -0700
commit95d56dd94153cf464ada2c9bbbe840a3da14f98a (patch)
tree9967f18d5f0a6f0f189078f0fa05929bd234980f /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.js24
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)
+})
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage