diff --git a/src/appdb.js b/src/appdb.js index 42cdc2925..3f6254d46 100644 --- a/src/appdb.js +++ b/src/appdb.js @@ -250,15 +250,16 @@ function add(id, appStoreId, manifest, location, domain, portBindings, data, cal const label = data.label || null; const tagsJson = data.tags ? JSON.stringify(data.tags) : null; const mailboxName = data.mailboxName || null; + const reverseProxyConfigJson = data.reverseProxyConfig ? JSON.stringify(data.reverseProxyConfig) : null; var queries = []; queries.push({ query: 'INSERT INTO apps (id, appStoreId, manifestJson, installationState, runState, accessRestrictionJson, memoryLimit, ' - + 'sso, debugModeJson, mailboxName, label, tagsJson) ' - + ' VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', + + 'sso, debugModeJson, mailboxName, label, tagsJson, reverseProxyConfigJson) ' + + ' VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', args: [ id, appStoreId, manifestJson, installationState, runState, accessRestrictionJson, memoryLimit, - sso, debugModeJson, mailboxName, label, tagsJson ] + sso, debugModeJson, mailboxName, label, tagsJson, reverseProxyConfigJson ] }); queries.push({