summaryrefslogtreecommitdiffstats
path: root/core/js/setupchecks.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/setupchecks.js')
-rw-r--r--core/js/setupchecks.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index 12d1104a632..2e94c82486c 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -357,6 +357,21 @@
type: OC.SetupChecks.MESSAGE_TYPE_INFO
})
}
+ if (data.missingColumns.length > 0) {
+ var listOfMissingColumns = "";
+ data.missingColumns.forEach(function(element){
+ listOfMissingColumns += "<li>";
+ listOfMissingColumns += t('core', 'Missing optional column "{columnName}" in table "{tableName}".', element);
+ listOfMissingColumns += "</li>";
+ });
+ messages.push({
+ msg: t(
+ 'core',
+ 'The database is missing some optional columns. Due to the fact that adding columns on big tables could take some time they were not added automatically when they can be optional. By running "occ db:add-missing-columns" those missing columns could be added manually while the instance keeps running. Once the columns are added some features might improve responsiveness or usability.'
+ ) + "<ul>" + listOfMissingColumns + "</ul>",
+ type: OC.SetupChecks.MESSAGE_TYPE_INFO
+ })
+ }
if (data.recommendedPHPModules.length > 0) {
var listOfRecommendedPHPModules = "";
data.recommendedPHPModules.forEach(function(element){