瀏覽代碼

fix(core): add fs_name_hash index to migration

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
pull/45129/head
Varun Patil 1 月之前
父節點
當前提交
84017a9ad7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      core/Migrations/Version13000Date20170718121200.php

+ 1
- 0
core/Migrations/Version13000Date20170718121200.php 查看文件

@@ -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) {

Loading…
取消
儲存