Merge pull request #45129 from nextcloud/pulsejet/name-idx-mig

fix(core): add fs_name_hash index to migration
This commit is contained in:
Ferdinand Thiessen 2024-05-01 01:58:01 +02:00 committed by GitHub
commit 4466c71de2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -261,6 +261,7 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
$table->addIndex(['storage', 'size', 'fileid'], 'fs_storage_size');
$table->addIndex(['fileid', 'storage', 'size'], 'fs_id_storage_size');
$table->addIndex(['parent'], 'fs_parent');
$table->addIndex(['name'], 'fs_name_hash');
$table->addIndex(['mtime'], 'fs_mtime');
$table->addIndex(['size'], 'fs_size');
if (!$schema->getDatabasePlatform() instanceof PostgreSQL94Platform) {