Новые правки

This commit is contained in:
Web-serfer 2026-05-07 17:16:25 +05:00
parent 79db7c8563
commit a5f208a132
19 changed files with 852 additions and 1 deletions

View file

@ -0,0 +1,20 @@
/// <reference path="../pb_data/types.d.ts" />
migrate((app) => {
const collection = app.findCollectionByNameOrId("pbc_1840088895")
// update collection data
unmarshal({
"updateRule": "@request.auth.id != \"\""
}, collection)
return app.save(collection)
}, (app) => {
const collection = app.findCollectionByNameOrId("pbc_1840088895")
// update collection data
unmarshal({
"updateRule": ""
}, collection)
return app.save(collection)
})

View file

@ -0,0 +1,26 @@
/// <reference path="../pb_data/types.d.ts" />
migrate((app) => {
const collection = app.findCollectionByNameOrId("pbc_1840088895")
// update collection data
unmarshal({
"createRule": "",
"deleteRule": "",
"listRule": "",
"viewRule": ""
}, collection)
return app.save(collection)
}, (app) => {
const collection = app.findCollectionByNameOrId("pbc_1840088895")
// update collection data
unmarshal({
"createRule": null,
"deleteRule": null,
"listRule": null,
"viewRule": null
}, collection)
return app.save(collection)
})