diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-11-14 15:51:26 +0100 |
---|---|---|
committer | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2023-11-27 15:23:52 +0100 |
commit | ad88c04f2de08e2adda5dc2031699d892466fd94 (patch) | |
tree | 75df26efb51420f3e9120108de678dc0feaa68e2 /core/js/setupchecks.js | |
parent | 2cb1c0f2dc0a5678de142c2791fde25475eb1632 (diff) | |
download | nextcloud-server-ad88c04f2de08e2adda5dc2031699d892466fd94.tar.gz nextcloud-server-ad88c04f2de08e2adda5dc2031699d892466fd94.zip |
Migrate missing index database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core/js/setupchecks.js')
-rw-r--r-- | core/js/setupchecks.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index 5cd2cadaa2d..f926d1534a5 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -258,18 +258,6 @@ type: OC.SetupChecks.MESSAGE_TYPE_WARNING }); } - if (data.missingIndexes.length > 0) { - var listOfMissingIndexes = ""; - data.missingIndexes.forEach(function(element){ - listOfMissingIndexes += '<li>'; - listOfMissingIndexes += t('core', 'Missing index "{indexName}" in table "{tableName}".', element); - listOfMissingIndexes += '</li>'; - }); - messages.push({ - msg: t('core', 'The database is missing some indexes. Due to the fact that adding indexes on big tables could take some time they were not added automatically. By running "occ db:add-missing-indices" those missing indexes could be added manually while the instance keeps running. Once the indexes are added queries to those tables are usually much faster.') + '<ul>' + listOfMissingIndexes + '</ul>', - type: OC.SetupChecks.MESSAGE_TYPE_INFO - }) - } if (data.missingPrimaryKeys.length > 0) { var listOfMissingPrimaryKeys = ""; data.missingPrimaryKeys.forEach(function(element){ |