Update core/Migrations/Version23000Date20211203110726.php

Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
pull/29996/head
Pytal 3 years ago committed by Christopher Ng
parent e224401a62
commit ac5bc2277e

@ -44,7 +44,6 @@ class Version23000Date20211203110726 extends SimpleMigrationStep {
/** @var ISchemaWrapper $schema */
$schema = $schemaClosure();
if ($schema->hasTable(self::TABLE_NAME)) {
$table = $schema->getTable(self::TABLE_NAME);
if ($table->hasIndex('user_id')) {
$table->renameIndex('user_id', self::TABLE_NAME . '_user_id_idx');
@ -52,7 +51,4 @@ class Version23000Date20211203110726 extends SimpleMigrationStep {
}
return null;
}
return null;
}
}

Loading…
Cancel
Save