From 762d798d10a1d9769a41abe06282aa9c0a4414cc Mon Sep 17 00:00:00 2001 From: binsky Date: Wed, 11 Aug 2021 12:10:47 +0200 Subject: [PATCH] Revert "add migration to create an index for label in the credentials table" This reverts commit 0cbc6df302b3fc0daaf68be8f0b73d0b68955c84. Signed-off-by: binsky --- .../Version020308Date20210805164128.php | 52 ------------------- 1 file changed, 52 deletions(-) delete mode 100644 lib/Migration/Version020308Date20210805164128.php diff --git a/lib/Migration/Version020308Date20210805164128.php b/lib/Migration/Version020308Date20210805164128.php deleted file mode 100644 index a22aba30..00000000 --- a/lib/Migration/Version020308Date20210805164128.php +++ /dev/null @@ -1,52 +0,0 @@ -hasTable('passman_credentials')) { - $table = $schema->getTable('passman_credentials'); - if (!$table->hasIndex('passman_credential_label_index')) { - $table->addIndex(['label'], 'passman_credential_label_index'); - } - } - - return $schema; - } - - /** - * @param IOutput $output - * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` - * @param array $options - */ - public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options): void { - } -}