Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2021-09-13 11:43:01 +0300
committerGitHub <noreply@github.com>2021-09-13 11:43:01 +0300
commit358eaba7dd45e5c5dbce44011bd7eadd88fe8534 (patch)
tree46799ecf5a1f46f6f90266bed81075d5f22073fb /core/Migrations
parent471167019c7c9071fa815b2c92691f65370a43b9 (diff)
Apply suggestions from code review
Signed-off-by: Lukas Reschke <lukas@statuscode.ch> Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Diffstat (limited to 'core/Migrations')
-rw-r--r--core/Migrations/Version23000Date20210906132259.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Migrations/Version23000Date20210906132259.php b/core/Migrations/Version23000Date20210906132259.php
index b4568ab069c..e65846f40b9 100644
--- a/core/Migrations/Version23000Date20210906132259.php
+++ b/core/Migrations/Version23000Date20210906132259.php
@@ -31,13 +31,14 @@ class Version23000Date20210906132259 extends SimpleMigrationStep {
'notnull' => true,
'length' => 128,
]);
- $table->addColumn('delete_after', 'datetime', [
+ $table->addColumn('delete_after', Types::DATETIME, [
'notnull' => true,
]);
$table->addIndex(['hash'], 'ratelimit_hash_idx');
$table->addIndex(['delete_after'], 'ratelimit_delete_after_idx');
+ return $schema;
}
- return $schema;
+ return null;
}
}