diff options
author | Julius Härtl <jus@bitgrid.net> | 2023-12-06 15:21:42 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2023-12-06 15:21:48 +0100 |
commit | 1cfc8a2e0396d97345d3e46260de2b2ce8f17326 (patch) | |
tree | d0b22a2957193673729e93d547eee710fb784f11 /core/Migrations | |
parent | e1ecf798d9ccce0b5d0c1b90d6cd93e22c2d9588 (diff) | |
download | nextcloud-server-1cfc8a2e0396d97345d3e46260de2b2ce8f17326.tar.gz nextcloud-server-1cfc8a2e0396d97345d3e46260de2b2ce8f17326.zip |
Revert "perf: Add partial index on configvalue of preferences table"
This reverts commit 0ccf84bb3174a0dba47938888d104db96dcacb1b.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/Migrations')
-rw-r--r-- | core/Migrations/Version13000Date20170718121200.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php index b4968e06397..da83b0732d8 100644 --- a/core/Migrations/Version13000Date20170718121200.php +++ b/core/Migrations/Version13000Date20170718121200.php @@ -31,7 +31,6 @@ */ namespace OC\Core\Migrations; -use Doctrine\DBAL\Platforms\OraclePlatform; use Doctrine\DBAL\Platforms\PostgreSQL94Platform; use OCP\DB\ISchemaWrapper; use OCP\DB\Types; @@ -333,9 +332,6 @@ class Version13000Date20170718121200 extends SimpleMigrationStep { ]); $table->setPrimaryKey(['userid', 'appid', 'configkey']); $table->addIndex(['appid', 'configkey'], 'preferences_app_key'); - if (!$this->connection->getDatabasePlatform() instanceof OraclePlatform) { - $table->addIndex(['configvalue'], 'preferences_configvalue', [], ['lengths' => [80]]); - } } if (!$schema->hasTable('properties')) { |