mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
Its Nextcloud 33 not 34. Better fix before the release. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
23 lines
588 B
PHP
23 lines
588 B
PHP
<?php
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace OC\Core\Migrations;
|
|
|
|
use OCP\DB\ISchemaWrapper;
|
|
use OCP\Migration\IOutput;
|
|
use OCP\Migration\SimpleMigrationStep;
|
|
|
|
class Version33000Date20260126120000 extends SimpleMigrationStep {
|
|
public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) {
|
|
/** @var ISchemaWrapper $schema */
|
|
$schema = $schemaClosure();
|
|
if ($schema->hasTable('whats_new')) {
|
|
$schema->dropTable('whats_new');
|
|
}
|
|
return $schema;
|
|
}
|
|
}
|