diff --git a/lib/Migration/Version000014Date20190817184844.php b/lib/Migration/Version000014Date20190817184844.php index d03197f1c..acec947a2 100644 --- a/lib/Migration/Version000014Date20190817184844.php +++ b/lib/Migration/Version000014Date20190817184844.php @@ -34,7 +34,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt if ($schema->hasTable('maps_favorites')) { $table = $schema->getTable('maps_favorites'); - $table->changeColumn('name', [ + $table->modifyColumn('name', [ 'notnull' => false, 'length' => 255, ]); diff --git a/lib/Migration/Version000102Date20190901152326.php b/lib/Migration/Version000102Date20190901152326.php index a6d2445e1..6c49f7571 100644 --- a/lib/Migration/Version000102Date20190901152326.php +++ b/lib/Migration/Version000102Date20190901152326.php @@ -34,7 +34,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt if ($schema->hasTable('maps_address_geo')) { $table = $schema->getTable('maps_address_geo'); - $table->changeColumn('object_uri', [ + $table->modifyColumn('object_uri', [ 'notnull' => true, 'default' => '--', 'length' => 255, diff --git a/lib/Migration/Version000107Date20200608220000.php b/lib/Migration/Version000107Date20200608220000.php index 6b686f6e0..317edd615 100644 --- a/lib/Migration/Version000107Date20200608220000.php +++ b/lib/Migration/Version000107Date20200608220000.php @@ -34,7 +34,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt if ($schema->hasTable('maps_tracks')) { $table = $schema->getTable('maps_tracks'); - $table->changeColumn('metadata', [ + $table->modifyColumn('metadata', [ 'notnull' => false, 'length' => 1000, ]);