Added previous photo layout, will definitely change. Also going back and forth on font choice still

This commit is contained in:
2025-11-14 11:17:29 +13:00
parent e930e75646
commit 2e6b1eb335
7 changed files with 118 additions and 10 deletions

View File

@@ -0,0 +1,24 @@
/// <reference path="../pb_data/types.d.ts" />
migrate((app) => {
const collection = app.findCollectionByNameOrId("my9ej2vdwzwoqov")
// add field
collection.fields.addAt(1, new Field({
"hidden": false,
"id": "bool1748787223",
"name": "published",
"presentable": false,
"required": false,
"system": false,
"type": "bool"
}))
return app.save(collection)
}, (app) => {
const collection = app.findCollectionByNameOrId("my9ej2vdwzwoqov")
// remove field
collection.fields.removeById("bool1748787223")
return app.save(collection)
})