diff --git a/core/Migrations/Version18000Date20191126000000.php b/core/Migrations/Version18000Date20191126000000.php index 00d2cfbb621c1..a061c392908d2 100644 --- a/core/Migrations/Version18000Date20191126000000.php +++ b/core/Migrations/Version18000Date20191126000000.php @@ -39,15 +39,13 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt /** @var ISchemaWrapper $schema */ $schema = $schemaClosure(); - if ($schema->hasTable('properties')) { - $table = $schema->getTable('properties'); + $table = $schema->getTable('properties'); - $table->changeColumn('propertypath', [ - 'notnull' => true, - 'length' => 4000, - 'default' => '', - ]); - } + $table->changeColumn('propertypath', [ + 'notnull' => true, + 'length' => 4000, + 'default' => '', + ]); return $schema; }