Skip to content

Commit 4823bcb

Browse files
Merge pull request #47437 from nextcloud/backport/47419/stable30
[stable30] fix(migration): Add missing migration attributes
2 parents 9caf35a + c6a2aa4 commit 4823bcb

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::BOOLEAN)]
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)