diff --git a/apps/dav/lib/Migration/Version1004Date20170825134824.php b/apps/dav/lib/Migration/Version1004Date20170825134824.php index 4bf9637b69735..ed089861d766b 100644 --- a/apps/dav/lib/Migration/Version1004Date20170825134824.php +++ b/apps/dav/lib/Migration/Version1004Date20170825134824.php @@ -234,7 +234,7 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op $table->addUniqueIndex(['principaluri', 'uri'], 'calendars_index'); } else { $table = $schema->getTable('calendars'); - $table->changeColumn('components', [ + $table->modifyColumn('components', [ 'notnull' => false, 'length' => 64, ]); @@ -324,7 +324,7 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op $table->addUniqueIndex(['principaluri', 'uri'], 'calsub_index'); } else { $table = $schema->getTable('calendarsubscriptions'); - $table->changeColumn('lastmodified', [ + $table->modifyColumn('lastmodified', [ 'notnull' => false, 'unsigned' => true, ]); diff --git a/apps/files_external/lib/Migration/Version1011Date20200630192246.php b/apps/files_external/lib/Migration/Version1011Date20200630192246.php index c87b1cfbc8be9..dffbd70aa5868 100644 --- a/apps/files_external/lib/Migration/Version1011Date20200630192246.php +++ b/apps/files_external/lib/Migration/Version1011Date20200630192246.php @@ -103,7 +103,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt $table->addUniqueIndex(['mount_id', 'key'], 'config_mount_key'); } else { $table = $schema->getTable('external_config'); - $table->changeColumn('value', [ + $table->modifyColumn('value', [ 'notnull' => false, 'length' => 4000, ]); diff --git a/apps/workflowengine/lib/Migration/Version2200Date20210805101925.php b/apps/workflowengine/lib/Migration/Version2200Date20210805101925.php index 841277acfcebc..f924b7ae8ef02 100644 --- a/apps/workflowengine/lib/Migration/Version2200Date20210805101925.php +++ b/apps/workflowengine/lib/Migration/Version2200Date20210805101925.php @@ -27,7 +27,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt if ($schema->hasTable('flow_operations')) { $table = $schema->getTable('flow_operations'); - $table->changeColumn('name', [ + $table->modifyColumn('name', [ 'notnull' => false, ]); } diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 3082ec0f958f2..3e5b4f954174d 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -916,12 +916,6 @@ - - - - - - @@ -1482,11 +1476,6 @@ - - - - - @@ -2813,11 +2802,6 @@ - - - - - @@ -3234,15 +3218,6 @@ - - - - - - - - - diff --git a/core/Migrations/Version21000Date20201120141228.php b/core/Migrations/Version21000Date20201120141228.php index ac20cbfd577af..feba7c469bb4a 100644 --- a/core/Migrations/Version21000Date20201120141228.php +++ b/core/Migrations/Version21000Date20201120141228.php @@ -24,16 +24,16 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt if ($loginNameColumn->getLength() !== 255) { $loginNameColumn->setLength(255); } - $table->changeColumn('type', [ + $table->modifyColumn('type', [ 'notnull' => false, ]); - $table->changeColumn('remember', [ + $table->modifyColumn('remember', [ 'notnull' => false, ]); - $table->changeColumn('last_activity', [ + $table->modifyColumn('last_activity', [ 'notnull' => false, ]); - $table->changeColumn('last_check', [ + $table->modifyColumn('last_check', [ 'notnull' => false, ]); } @@ -51,7 +51,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt if ($schema->hasTable('jobs')) { $table = $schema->getTable('jobs'); - $table->changeColumn('execution_duration', [ + $table->modifyColumn('execution_duration', [ 'notnull' => false, 'default' => 0, ]);