diff --git a/pb/pb_migrations/1763340583_updated_recipes.js b/pb/pb_migrations/1763340583_updated_recipes.js new file mode 100644 index 0000000..11cf4db --- /dev/null +++ b/pb/pb_migrations/1763340583_updated_recipes.js @@ -0,0 +1,22 @@ +/// +migrate((app) => { + const collection = app.findCollectionByNameOrId("pbc_842702175") + + // update collection data + unmarshal({ + "listRule": "", + "viewRule": "" + }, collection) + + return app.save(collection) +}, (app) => { + const collection = app.findCollectionByNameOrId("pbc_842702175") + + // update collection data + unmarshal({ + "listRule": null, + "viewRule": null + }, collection) + + return app.save(collection) +}) diff --git a/pb/pb_migrations/1763340588_updated_recipes.js b/pb/pb_migrations/1763340588_updated_recipes.js new file mode 100644 index 0000000..a1dcbe3 --- /dev/null +++ b/pb/pb_migrations/1763340588_updated_recipes.js @@ -0,0 +1,24 @@ +/// +migrate((app) => { + const collection = app.findCollectionByNameOrId("pbc_842702175") + + // update collection data + unmarshal({ + "createRule": "", + "deleteRule": "", + "updateRule": "" + }, collection) + + return app.save(collection) +}, (app) => { + const collection = app.findCollectionByNameOrId("pbc_842702175") + + // update collection data + unmarshal({ + "createRule": null, + "deleteRule": null, + "updateRule": null + }, collection) + + return app.save(collection) +}) diff --git a/web/src/pages/index.astro b/web/src/pages/index.astro index 1305c7b..1aa593f 100644 --- a/web/src/pages/index.astro +++ b/web/src/pages/index.astro @@ -4,15 +4,3 @@ import { authPB } from "@data/pb"; const pb = await authPB() --- - - - - - - - Astro - - -

Astro

- -