diff options
author | Joas Schilling <coding@schilljs.com> | 2024-08-22 12:19:01 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-08-22 20:58:50 +0200 |
commit | 4b6490eaa63e218a10002957e53c15ee0983e8b7 (patch) | |
tree | 647d3d20488126ba4a4d239ad1dc83eadab0111d /core | |
parent | 0df3a46db2e023de5bdc3b13522b7b32eaeb125e (diff) | |
download | nextcloud-server-4b6490eaa63e218a10002957e53c15ee0983e8b7.tar.gz nextcloud-server-4b6490eaa63e218a10002957e53c15ee0983e8b7.zip |
fix(migration): Add missing migration attributes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/Migrations/Version30000Date20240815080800.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/Migrations/Version30000Date20240815080800.php b/core/Migrations/Version30000Date20240815080800.php index c65cd6830c7..5212467ece0 100644 --- a/core/Migrations/Version30000Date20240815080800.php +++ b/core/Migrations/Version30000Date20240815080800.php @@ -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 */ |