Remove ionic, create custom layout
This commit is contained in:
parent
b8bee291b3
commit
681440eb4d
23 changed files with 627 additions and 635 deletions
57
pb_migrations/1702118911_created_icons.js
Normal file
57
pb_migrations/1702118911_created_icons.js
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
/// <reference path="../pb_data/types.d.ts" />
|
||||
migrate((db) => {
|
||||
const collection = new Collection({
|
||||
"id": "jqwhs45vpzq2ig5",
|
||||
"created": "2023-12-09 10:48:31.784Z",
|
||||
"updated": "2023-12-09 10:48:31.784Z",
|
||||
"name": "icons",
|
||||
"type": "base",
|
||||
"system": false,
|
||||
"schema": [
|
||||
{
|
||||
"system": false,
|
||||
"id": "ne3yufop",
|
||||
"name": "name",
|
||||
"type": "text",
|
||||
"required": false,
|
||||
"presentable": false,
|
||||
"unique": false,
|
||||
"options": {
|
||||
"min": null,
|
||||
"max": null,
|
||||
"pattern": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"system": false,
|
||||
"id": "dulswobh",
|
||||
"name": "image",
|
||||
"type": "file",
|
||||
"required": false,
|
||||
"presentable": false,
|
||||
"unique": false,
|
||||
"options": {
|
||||
"maxSelect": 1,
|
||||
"maxSize": 5242880,
|
||||
"mimeTypes": [],
|
||||
"thumbs": [],
|
||||
"protected": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"indexes": [],
|
||||
"listRule": null,
|
||||
"viewRule": null,
|
||||
"createRule": null,
|
||||
"updateRule": null,
|
||||
"deleteRule": null,
|
||||
"options": {}
|
||||
});
|
||||
|
||||
return Dao(db).saveCollection(collection);
|
||||
}, (db) => {
|
||||
const dao = new Dao(db);
|
||||
const collection = dao.findCollectionByNameOrId("jqwhs45vpzq2ig5");
|
||||
|
||||
return dao.deleteCollection(collection);
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue