From e130afbd65a875eeb620d49d7806f8d15765f9d1 Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Fri, 25 Sep 2020 15:35:29 +0200 Subject: [PATCH] fix declaration of object_uri DB field Signed-off-by: Julien Veyssier --- lib/Migration/Version000013Date20190723185417.php | 2 +- lib/Migration/Version000102Date20190901152326.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Migration/Version000013Date20190723185417.php b/lib/Migration/Version000013Date20190723185417.php index db089278c..95f1e2b46 100644 --- a/lib/Migration/Version000013Date20190723185417.php +++ b/lib/Migration/Version000013Date20190723185417.php @@ -44,7 +44,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt $table->dropColumn('contact_uid'); $table->addColumn('object_uri', 'string', [ 'notnull' => true, - 'default' => '', + 'default' => '--', 'length' => 64, ]); $table->addIndex(['object_uri'], 'maps_object_uri'); diff --git a/lib/Migration/Version000102Date20190901152326.php b/lib/Migration/Version000102Date20190901152326.php index 29f1f38d0..cf75ac9b1 100644 --- a/lib/Migration/Version000102Date20190901152326.php +++ b/lib/Migration/Version000102Date20190901152326.php @@ -43,7 +43,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt $table = $schema->getTable('maps_address_geo'); $table->changeColumn('object_uri', [ 'notnull' => true, - 'default' => '', + 'default' => '--', 'length' => 255, ]); }