diff options
author | Daniel <mail@danielkesselberg.de> | 2024-08-22 21:34:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-22 21:34:35 +0200 |
commit | d78bfb718120201c0f253d7980a0e5c531bb9d31 (patch) | |
tree | c8e569d773acdacd1c40f4903ff7caeb9e8b7dd4 | |
parent | 6c934b831e17e436c573643129533ff5e13c9d4b (diff) | |
parent | 4b6490eaa63e218a10002957e53c15ee0983e8b7 (diff) | |
download | nextcloud-server-d78bfb718120201c0f253d7980a0e5c531bb9d31.tar.gz nextcloud-server-d78bfb718120201c0f253d7980a0e5c531bb9d31.zip |
Merge pull request #47419 from nextcloud/bugfix/noid/add-missing-attribute
fix(migration): Add missing migration attributes
-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 */ |