mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
And remove all the duplication in the subclasses Signed-off-by: Carl Schwan <carlschwan@kde.org>
40 lines
818 B
PHP
40 lines
818 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
/**
|
|
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
namespace OCP\Migration;
|
|
|
|
use Override;
|
|
|
|
/**
|
|
* Abstract class implementing migration step.
|
|
*
|
|
* @since 13.0.0
|
|
*/
|
|
abstract class SimpleMigrationStep implements IMigrationStep {
|
|
#[Override]
|
|
public function name(): string {
|
|
return '';
|
|
}
|
|
|
|
#[Override]
|
|
public function description(): string {
|
|
return '';
|
|
}
|
|
|
|
#[Override]
|
|
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options) {
|
|
}
|
|
|
|
#[Override]
|
|
public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) {
|
|
return null;
|
|
}
|
|
|
|
#[Override]
|
|
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options) {
|
|
}
|
|
}
|