Skip to content

Commit

Permalink
fix declaration of object_uri DB field
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <[email protected]>
  • Loading branch information
Julien Veyssier committed Sep 25, 2020
1 parent e3d6b53 commit e130afb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Migration/Version000013Date20190723185417.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion lib/Migration/Version000102Date20190901152326.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]);
}
Expand Down

0 comments on commit e130afb

Please sign in to comment.