update remove migration files in pocketbase,

This commit is contained in:
louiscklaw
2025-05-11 07:52:04 +08:00
parent f435300740
commit 25c1d3c917
34 changed files with 95 additions and 1635 deletions

View File

@@ -0,0 +1,20 @@
/// <reference path="../pb_data/types.d.ts" />
migrate((app) => {
const collection = app.findCollectionByNameOrId("pbc_1413424569")
// update collection data
unmarshal({
"name": "Teachers_xxx"
}, collection)
return app.save(collection)
}, (app) => {
const collection = app.findCollectionByNameOrId("pbc_1413424569")
// update collection data
unmarshal({
"name": "Teachers"
}, collection)
return app.save(collection)
})