Do not use digits in random index names
This commit is contained in:
parent
64c9c27f7e
commit
c7c6556187
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue