diff options
author | Mario Danic <mario@lovelyhq.com> | 2020-04-30 00:13:13 +0200 |
---|---|---|
committer | Mario Danic <mario@lovelyhq.com> | 2020-04-30 23:04:15 +0200 |
commit | 6e28c2807b751a9dbd2a60abb3038eed3cf04b42 (patch) | |
tree | d3e558553bb509aefad4210280ce91f015f28c41 /core/Migrations | |
parent | 8d5404b750df85a947c43aacc266c6088d8b4aed (diff) | |
download | nextcloud-server-6e28c2807b751a9dbd2a60abb3038eed3cf04b42.tar.gz nextcloud-server-6e28c2807b751a9dbd2a60abb3038eed3cf04b42.zip |
Add index to properties table
Signed-off-by: Mario Danic <mario@lovelyhq.com>
Diffstat (limited to 'core/Migrations')
-rw-r--r-- | core/Migrations/Version13000Date20170718121200.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php index f9745566168..7e48059f798 100644 --- a/core/Migrations/Version13000Date20170718121200.php +++ b/core/Migrations/Version13000Date20170718121200.php @@ -318,6 +318,7 @@ class Version13000Date20170718121200 extends SimpleMigrationStep { ]); $table->setPrimaryKey(['id']); $table->addIndex(['userid'], 'property_index'); + $table->addIndex(['userid', 'propertypath'], 'properties_path_index'); } if (!$schema->hasTable('share')) { |