use DB type constants

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 601679bd25)
This commit is contained in:
Julien Veyssier 2023-08-01 11:45:50 +02:00 committed by Marcel Klehr
parent 52a1748a0b
commit f95cf63895

View 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,