Merge pull request #47419 from nextcloud/bugfix/noid/add-missing-attribute

fix(migration): Add missing migration attributes
pull/47439/head
Daniel 2024-08-22 21:34:35 +07:00 committed by GitHub
commit d78bfb7181
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

@ -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 */