Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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-09 01:43:52 +0300
commit28c6c2f4d46b52fa48a0034f1d1754437be4df9d (patch)
treeaed792d5f20d6823a5965991e7235c8560b44dab /lib
parent5fcab24e592c5f0f35d3293449dbd2f15a40f5f8 (diff)
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 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());
}