]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(migration): Add missing migration attributes 47419/head
authorJoas Schilling <coding@schilljs.com>
Thu, 22 Aug 2024 10:19:01 +0000 (12:19 +0200)
committerJoas Schilling <coding@schilljs.com>
Thu, 22 Aug 2024 18:58:50 +0000 (20:58 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
core/Migrations/Version30000Date20240815080800.php

index c65cd6830c753ec82f759c7f03f5e742af4125a1..5212467ece04e406a879a97571b1a323c3e7bfa8 100644 (file)
@@ -3,7 +3,7 @@
 declare(strict_types=1);
 /**
  * SPDX-FileCopyrightText: 2024 S1m <git@sgougeon.fr>
- * SPDX-FileCopyrightText: 2024 Richard Steinmetz <richard@steinmetz.cloud>
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
  * SPDX-License-Identifier: AGPL-3.0-or-later
  */
 
@@ -12,9 +12,12 @@ namespace OC\Core\Migrations;
 use Closure;
 use OCP\DB\ISchemaWrapper;
 use OCP\DB\Types;
+use OCP\Migration\Attributes\AddColumn;
+use OCP\Migration\Attributes\ColumnType;
 use OCP\Migration\IOutput;
 use OCP\Migration\SimpleMigrationStep;
 
+#[AddColumn(table: 'webauthn', name: 'user_verification', type: ColumnType::BOOLEAN)]
 class Version30000Date20240815080800 extends SimpleMigrationStep {
        public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
                /** @var ISchemaWrapper $schema */