Initial Release

This commit is contained in:
Tola Leng
2025-05-09 21:28:07 +07:00
commit 0c6cd18e6f
244 changed files with 50633 additions and 0 deletions
@@ -0,0 +1,26 @@
/// <reference path="../pb_data/types.d.ts" />
migrate((app) => {
const collection = app.findCollectionByNameOrId("pbc_863811952")
// update collection data
unmarshal({
"createRule": "",
"deleteRule": "",
"updateRule": "",
"viewRule": ""
}, collection)
return app.save(collection)
}, (app) => {
const collection = app.findCollectionByNameOrId("pbc_863811952")
// update collection data
unmarshal({
"createRule": "id = @request.auth.id",
"deleteRule": "id = @request.auth.id",
"updateRule": "id = @request.auth.id",
"viewRule": "id = @request.auth.id"
}, collection)
return app.save(collection)
})