]> source.dussan.org Git - nextcloud-server.git/commitdiff
use DB type constants
authorJulien Veyssier <julien-nc@posteo.net>
Tue, 1 Aug 2023 09:45:50 +0000 (11:45 +0200)
committerMarcel Klehr <mklehr@gmx.net>
Wed, 9 Aug 2023 08:28:01 +0000 (10:28 +0200)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 601679bd25d409ae9303fc1fe2f477f3667545f3)

core/Migrations/Version28000Date20230728104802.php

index a278d644b95ca27f82ffbc908e2059ed2e5cb239..b80ca2f6ea3a37297640f2788c50db06573f08c9 100644 (file)
@@ -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,