summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2015-06-08 18:59:24 +0300
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2015-06-08 19:02:07 +0300
commitc7c6556187d89201ee4d6aef0d1d784ad97ccd09 (patch)
treed8cb61bba45832104366fa515af508a2c37f3f0b /lib
parent64c9c27f7e19745e7b7d6b51120262485e4712c6 (diff)
downloadnextcloud-server-c7c6556187d89201ee4d6aef0d1d784ad97ccd09.tar.gz
nextcloud-server-c7c6556187d89201ee4d6aef0d1d784ad97ccd09.zip
Do not use digits in random index names
Diffstat (limited to 'lib')
-rw-r--r--lib/private/db/migrator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/db/migrator.php b/lib/private/db/migrator.php
index 49b9032d5c8..fcfe5d96279 100644
--- a/lib/private/db/migrator.php
+++ b/lib/private/db/migrator.php
@@ -169,7 +169,7 @@ class Migrator {
$indexName = $index->getName();
} else {
// avoid conflicts in index names
- $indexName = $this->config->getSystemValue('dbtableprefix', 'oc_') . $this->random->generate(13, ISecureRandom::CHAR_LOWER . ISecureRandom::CHAR_DIGITS);
+ $indexName = $this->config->getSystemValue('dbtableprefix', 'oc_') . $this->random->generate(13, ISecureRandom::CHAR_LOWER);
}
$newIndexes[] = new Index($indexName, $index->getColumns(), $index->isUnique(), $index->isPrimary());
}