diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-06-08 22:28:57 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-06-08 22:28:57 +0200 |
commit | 429bd7ce3772ffea312280feb3e4089f47681935 (patch) | |
tree | f117066df06bfb65fd90cb52ad4a08f3184d9e4f | |
parent | 2ae2da576f863c999eece414de3b18ba222e81cb (diff) | |
parent | c7c6556187d89201ee4d6aef0d1d784ad97ccd09 (diff) | |
download | nextcloud-server-429bd7ce3772ffea312280feb3e4089f47681935.tar.gz nextcloud-server-429bd7ce3772ffea312280feb3e4089f47681935.zip |
Merge pull request #16807 from owncloud/fix-16779
Do not use digits in random index names
-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 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()); } |