From c7c6556187d89201ee4d6aef0d1d784ad97ccd09 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Mon, 8 Jun 2015 18:59:24 +0300 Subject: Do not use digits in random index names --- lib/private/db/migrator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } -- cgit v1.2.3