Skip to content

Commit

Permalink
Set neigborhood default null in createTable
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandra Nantel committed Dec 12, 2018
1 parent fb990d2 commit 6a17be7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extension.meta.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<extension id="addresslocationfield" status="released" xmlns="http://getsymphony.com/schemas/extension/1.0">
<name>Address Location Field</name>
<name>Field: Address Location</name>
<description>Geocode an address, then refine the latlng returned for precision.</description>
<repo type="github">https://github.com/designermonkey/addresslocationfield</repo>
<url type="discuss">http://getsymphony.com/discuss/thread/70238/</url>
Expand Down
10 changes: 8 additions & 2 deletions fields/field.addresslocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,14 @@ public function createTable()
'type' => 'double',
'null' => true,
],
'neighborhood' => 'varchar(255)',
'neighborhood_handle' => 'varchar(255)',
'neighborhood' => [
'type' => 'varchar(255)',
'null' => true,
],
'neighborhood_handle' => [
'type' => 'varchar(255)',
'null' => true,
],
'result_data' => 'blob',
])
->keys([
Expand Down

0 comments on commit 6a17be7

Please sign in to comment.