summaryrefslogtreecommitdiffstats
path: root/core/Migrations
diff options
context:
space:
mode:
authorJulien Veyssier <julien-nc@posteo.net>2023-08-01 11:45:50 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-08-09 10:28:01 +0200
commitf95cf6389541dbd06e129df9655e0ab525940e00 (patch)
treec33c35747862be6f338a9fa04c4f8c7a3021cb1f /core/Migrations
parent52a1748a0b5663a3e6acaa68ae8ed082f226a502 (diff)
downloadnextcloud-server-f95cf6389541dbd06e129df9655e0ab525940e00.tar.gz
nextcloud-server-f95cf6389541dbd06e129df9655e0ab525940e00.zip
use DB type constants
Signed-off-by: Julien Veyssier <julien-nc@posteo.net> (cherry picked from commit 601679bd25d409ae9303fc1fe2f477f3667545f3)
Diffstat (limited to 'core/Migrations')
-rw-r--r--core/Migrations/Version28000Date20230728104802.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Migrations/Version28000Date20230728104802.php b/core/Migrations/Version28000Date20230728104802.php
index a278d644b95..b80ca2f6ea3 100644
--- a/core/Migrations/Version28000Date20230728104802.php
+++ b/core/Migrations/Version28000Date20230728104802.php
@@ -88,7 +88,7 @@ class Version28000Date20230728104802 extends SimpleMigrationStep {
'length' => 255,
'default' => '',
]);
- $table->addColumn('last_updated', 'integer', [
+ $table->addColumn('last_updated', Types::INTEGER, [
'notnull' => false,
'length' => 4,
'default' => 0,