Skip to content

Commit

Permalink
Merge pull request #453 from nextcloud/fix-migration-object_uri
Browse files Browse the repository at this point in the history
fix declaration of object_uri DB field
  • Loading branch information
Julien Veyssier authored Sep 25, 2020
2 parents e3d6b53 + e130afb commit 70ad2ac
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 70ad2ac

Please sign in to comment.