From b40629ac8caf5d488053a9ab2e89210bf14e1b4c Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 12 Apr 2018 17:47:40 +0200 Subject: Add human readable description to migration steps Signed-off-by: Robin Appelman --- lib/public/Migration/IMigrationStep.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'lib/public/Migration/IMigrationStep.php') diff --git a/lib/public/Migration/IMigrationStep.php b/lib/public/Migration/IMigrationStep.php index e12d962683e..6b9da280d78 100644 --- a/lib/public/Migration/IMigrationStep.php +++ b/lib/public/Migration/IMigrationStep.php @@ -29,6 +29,21 @@ use OCP\DB\ISchemaWrapper; * @since 13.0.0 */ interface IMigrationStep { + /** + * Human readable name of the migration step + * + * @return string + * @since 14.0.0 + */ + public function name(): string; + + /** + * Human readable description of the migration steps + * + * @return string + * @since 14.0.0 + */ + public function description(): string; /** * @param IOutput $output -- cgit v1.2.3