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 --- core/Migrations/Version14000Date20180129121024.php | 7 +++++++ core/Migrations/Version14000Date20180404140050.php | 8 ++++++++ 2 files changed, 15 insertions(+) (limited to 'core/Migrations') diff --git a/core/Migrations/Version14000Date20180129121024.php b/core/Migrations/Version14000Date20180129121024.php index eedd99d014e..9512d4adafd 100644 --- a/core/Migrations/Version14000Date20180129121024.php +++ b/core/Migrations/Version14000Date20180129121024.php @@ -30,6 +30,13 @@ use OCP\Migration\IOutput; * Delete the admin|personal sections and settings tables */ class Version14000Date20180129121024 extends SimpleMigrationStep { + public function name(): string { + return 'Drop obsolete settings tables'; + } + + public function description(): string { + return 'Drops the following obsolete tables: "admin_sections", "admin_settings", "personal_sections" and "personal_settings"'; + } /** * @param IOutput $output diff --git a/core/Migrations/Version14000Date20180404140050.php b/core/Migrations/Version14000Date20180404140050.php index d7077caa149..86705f21d53 100644 --- a/core/Migrations/Version14000Date20180404140050.php +++ b/core/Migrations/Version14000Date20180404140050.php @@ -41,6 +41,14 @@ class Version14000Date20180404140050 extends SimpleMigrationStep { $this->connection = $connection; } + public function name(): string { + return 'Add lowercase user id column to users table'; + } + + public function description(): string { + return 'Adds "uid_lower" column to the users table and fills the column to allow indexed case-insensitive searches'; + } + /** * @param IOutput $output * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` -- cgit v1.2.3