/// migrate((db) => { const dao = new Dao(db) const collection = dao.findCollectionByNameOrId("jbzxvie5c27b6od") // update collection.schema.addField(new SchemaField({ "system": false, "id": "v7tapdp9", "name": "header_image", "type": "file", "required": false, "presentable": false, "unique": false, "options": { "mimeTypes": [ "image/png", "image/jpeg" ], "thumbs": [], "maxSelect": 1, "maxSize": 5242880, "protected": false } })) return dao.saveCollection(collection) }, (db) => { const dao = new Dao(db) const collection = dao.findCollectionByNameOrId("jbzxvie5c27b6od") // update collection.schema.addField(new SchemaField({ "system": false, "id": "v7tapdp9", "name": "og_image", "type": "file", "required": false, "presentable": false, "unique": false, "options": { "mimeTypes": [ "image/png", "image/jpeg" ], "thumbs": [], "maxSelect": 1, "maxSize": 5242880, "protected": false } })) return dao.saveCollection(collection) })