make opt not optional
This commit is contained in:
parent
33656a4ae5
commit
932b119a66
|
@ -123,6 +123,7 @@ export async function updateWithExport(
|
||||||
// don't need obj store, the existing app already has everything we need
|
// don't need obj store, the existing app already has everything we need
|
||||||
await backups.importApp(devId, tempDb, template, {
|
await backups.importApp(devId, tempDb, template, {
|
||||||
importObjStoreContents: false,
|
importObjStoreContents: false,
|
||||||
|
updateAttachmentColumns: true,
|
||||||
})
|
})
|
||||||
const newMetadata = await getNewAppMetadata(tempDb, appDb)
|
const newMetadata = await getNewAppMetadata(tempDb, appDb)
|
||||||
// get the documents to copy
|
// get the documents to copy
|
||||||
|
|
|
@ -172,7 +172,7 @@ export async function importApp(
|
||||||
template: TemplateType,
|
template: TemplateType,
|
||||||
opts: {
|
opts: {
|
||||||
importObjStoreContents: boolean
|
importObjStoreContents: boolean
|
||||||
updateAttachmentColumns?: boolean
|
updateAttachmentColumns: boolean
|
||||||
} = { importObjStoreContents: true, updateAttachmentColumns: true }
|
} = { importObjStoreContents: true, updateAttachmentColumns: true }
|
||||||
) {
|
) {
|
||||||
let prodAppId = dbCore.getProdAppID(appId)
|
let prodAppId = dbCore.getProdAppID(appId)
|
||||||
|
|
Loading…
Reference in New Issue