astro_advokat/backend/pb_migrations/1774373801_updated_reviews.js

21 lines
445 B
JavaScript
Raw Normal View History

2026-03-30 20:21:41 +05:00
/// <reference path="../pb_data/types.d.ts" />
migrate((app) => {
const collection = app.findCollectionByNameOrId("pbc_4163081445")
// update collection data
unmarshal({
"createRule": ""
}, collection)
return app.save(collection)
}, (app) => {
const collection = app.findCollectionByNameOrId("pbc_4163081445")
// update collection data
unmarshal({
"createRule": null
}, collection)
return app.save(collection)
})