diff options
Diffstat (limited to 'core/Migrations/Version14000Date20180518120534.php')
-rw-r--r-- | core/Migrations/Version14000Date20180518120534.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/Migrations/Version14000Date20180518120534.php b/core/Migrations/Version14000Date20180518120534.php index 1e025f88ed1..39ac3ed6db3 100644 --- a/core/Migrations/Version14000Date20180518120534.php +++ b/core/Migrations/Version14000Date20180518120534.php @@ -16,14 +16,13 @@ declare(strict_types=1); * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ - namespace OC\Core\Migrations; use OCP\DB\ISchemaWrapper; @@ -31,7 +30,6 @@ use OCP\Migration\IOutput; use OCP\Migration\SimpleMigrationStep; class Version14000Date20180518120534 extends SimpleMigrationStep { - public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) { /** @var ISchemaWrapper $schema */ $schema = $schemaClosure(); @@ -49,7 +47,6 @@ class Version14000Date20180518120534 extends SimpleMigrationStep { 'unsigned' => true, ]); $table->addIndex(['uid'], 'authtoken_uid_index'); - $table->addIndex(['version'], 'authtoken_version_index'); return $schema; } |