Skip to content

Commit 246fe00

Browse files
committed
fix(migration): Add missing migration attributes
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent 0df3a46 commit 246fe00

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

core/Migrations/Version30000Date20240815080800.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
declare(strict_types=1);
44
/**
55
* SPDX-FileCopyrightText: 2024 S1m <git@sgougeon.fr>
6-
* SPDX-FileCopyrightText: 2024 Richard Steinmetz <richard@steinmetz.cloud>
6+
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
77
* SPDX-License-Identifier: AGPL-3.0-or-later
88
*/
99

@@ -12,9 +12,12 @@
1212
use Closure;
1313
use OCP\DB\ISchemaWrapper;
1414
use OCP\DB\Types;
15+
use OCP\Migration\Attributes\AddColumn;
16+
use OCP\Migration\Attributes\ColumnType;
1517
use OCP\Migration\IOutput;
1618
use OCP\Migration\SimpleMigrationStep;
1719

20+
#[AddColumn(table: 'webauthn', name: 'user_verification', type: ColumnType::STRING)]
1821
class Version30000Date20240815080800 extends SimpleMigrationStep {
1922
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
2023
/** @var ISchemaWrapper $schema */

0 commit comments

Comments
 (0)