Skip to content

Commit

Permalink
Merge pull request #45 from rjmackay/3.3/develop
Browse files Browse the repository at this point in the history
Add support for geometry field type in MySQL
Refs #4745
  • Loading branch information
zeelot committed May 30, 2013
2 parents 264e3a2 + 68985f2 commit b93a4cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/Kohana/Database/MySQL.php
Expand Up @@ -240,6 +240,7 @@ public function datatype($type)
'fixed' => array('type' => 'float', 'exact' => TRUE),
'fixed unsigned' => array('type' => 'float', 'exact' => TRUE, 'min' => '0'),
'float unsigned' => array('type' => 'float', 'min' => '0'),
'geometry' => array('type' => 'string', 'binary' => TRUE),
'int unsigned' => array('type' => 'int', 'min' => '0', 'max' => '4294967295'),
'integer unsigned' => array('type' => 'int', 'min' => '0', 'max' => '4294967295'),
'longblob' => array('type' => 'string', 'binary' => TRUE, 'character_maximum_length' => '4294967295'),
Expand Down

0 comments on commit b93a4cf

Please sign in to comment.