Skip to content

Commit

Permalink
Merge pull request #45129 from nextcloud/pulsejet/name-idx-mig
Browse files Browse the repository at this point in the history
fix(core): add fs_name_hash index to migration
  • Loading branch information
susnux authored Apr 30, 2024
2 parents c24f460 + 84017a9 commit 4466c71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/Migrations/Version13000Date20170718121200.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
$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) {
Expand Down

0 comments on commit 4466c71

Please sign in to comment.