diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2015-06-08 18:59:24 +0300 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2015-06-09 01:43:52 +0300 |
commit | 28c6c2f4d46b52fa48a0034f1d1754437be4df9d (patch) | |
tree | aed792d5f20d6823a5965991e7235c8560b44dab /lib | |
parent | 5fcab24e592c5f0f35d3293449dbd2f15a40f5f8 (diff) | |
download | nextcloud-server-28c6c2f4d46b52fa48a0034f1d1754437be4df9d.tar.gz nextcloud-server-28c6c2f4d46b52fa48a0034f1d1754437be4df9d.zip |
Do not use digits in random index names
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/db/migrator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/db/migrator.php b/lib/private/db/migrator.php index f55b5078c0e..08457a282ce 100644 --- a/lib/private/db/migrator.php +++ b/lib/private/db/migrator.php @@ -151,7 +151,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()); } |