Новые изменения в проекте

This commit is contained in:
Web-serfer 2026-04-20 20:27:04 +05:00
parent ecb720f751
commit ddc0a26635
13 changed files with 950 additions and 48 deletions

View file

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