Remove ionic, create custom layout
This commit is contained in:
parent
b8bee291b3
commit
681440eb4d
23 changed files with 627 additions and 635 deletions
33
pb_migrations/1702118927_updated_tasks.js
Normal file
33
pb_migrations/1702118927_updated_tasks.js
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/// <reference path="../pb_data/types.d.ts" />
|
||||
migrate((db) => {
|
||||
const dao = new Dao(db)
|
||||
const collection = dao.findCollectionByNameOrId("pf13z4hs1iubw41")
|
||||
|
||||
// add
|
||||
collection.schema.addField(new SchemaField({
|
||||
"system": false,
|
||||
"id": "zvbjddln",
|
||||
"name": "icon",
|
||||
"type": "relation",
|
||||
"required": false,
|
||||
"presentable": false,
|
||||
"unique": false,
|
||||
"options": {
|
||||
"collectionId": "jqwhs45vpzq2ig5",
|
||||
"cascadeDelete": false,
|
||||
"minSelect": null,
|
||||
"maxSelect": 1,
|
||||
"displayFields": null
|
||||
}
|
||||
}))
|
||||
|
||||
return dao.saveCollection(collection)
|
||||
}, (db) => {
|
||||
const dao = new Dao(db)
|
||||
const collection = dao.findCollectionByNameOrId("pf13z4hs1iubw41")
|
||||
|
||||
// remove
|
||||
collection.schema.removeField("zvbjddln")
|
||||
|
||||
return dao.saveCollection(collection)
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue