Added previous photo layout, will definitely change. Also going back and forth on font choice still
This commit is contained in:
24
pb/pb_migrations/1763072215_updated_photos.js
Normal file
24
pb/pb_migrations/1763072215_updated_photos.js
Normal 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)
|
||||
})
|
||||
Reference in New Issue
Block a user