Initial commit

This commit is contained in:
mcarquigny
2025-03-20 09:07:33 +01:00
commit 742da61016
51 changed files with 10395 additions and 0 deletions

View File

@ -0,0 +1,24 @@
/// <reference path="../pb_data/types.d.ts" />
migrate((app) => {
const collection = app.findCollectionByNameOrId("pbc_3068727201")
// update collection data
unmarshal({
"indexes": [
"CREATE INDEX `idx_hzzU2smrUc` ON `history` (`ref`)"
]
}, collection)
return app.save(collection)
}, (app) => {
const collection = app.findCollectionByNameOrId("pbc_3068727201")
// update collection data
unmarshal({
"indexes": [
"CREATE UNIQUE INDEX `idx_hzzU2smrUc` ON `history` (`ref`)"
]
}, collection)
return app.save(collection)
})