Hello from MCP server
/// <reference path="../pb_data/types.d.ts" />
migrate((app) => {
const collection = app.findCollectionByNameOrId("pbc_2925104200")
// update collection data
unmarshal({
"indexes": [
"CREATE UNIQUE INDEX `idx_7cSWEueYzy` ON `warrantyCopy` (\n `refId`,\n `org`\n)"
]
}, collection)
return app.save(collection)
}, (app) => {
const collection = app.findCollectionByNameOrId("pbc_2925104200")
// update collection data
unmarshal({
"indexes": []
}, collection)
return app.save(collection)
})