summaryrefslogtreecommitdiffstats
path: root/core/Migrations
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-04-12 17:47:40 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-05-30 21:28:05 +0200
commitb40629ac8caf5d488053a9ab2e89210bf14e1b4c (patch)
treee4a5c79218778a494250768832d55640939c65ec /core/Migrations
parent2dd49206c74eaa8e9149b117775f4747483ba5bd (diff)
downloadnextcloud-server-b40629ac8caf5d488053a9ab2e89210bf14e1b4c.tar.gz
nextcloud-server-b40629ac8caf5d488053a9ab2e89210bf14e1b4c.zip
Add human readable description to migration steps
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core/Migrations')
-rw-r--r--core/Migrations/Version14000Date20180129121024.php7
-rw-r--r--core/Migrations/Version14000Date20180404140050.php8
2 files changed, 15 insertions, 0 deletions
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`