Skip to content

Commit

Permalink
Bug: 14508 Use default of 0 for these float fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Nov 9, 2016
1 parent b80f6d2 commit ccf26a7
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -21,9 +21,9 @@ public function up()
$t->column('state', 'string', array('limit' => 2));
$t->column('country', 'string', array('limit' => 50));
$t->column('municipality', 'string', array('limit' => 80));
$t->column('latitude', 'float');
$t->column('longitude', 'float');
$t->column('elevation', 'float');
$t->column('latitude', 'float', array('default' => 0));
$t->column('longitude', 'float', array('default' => 0));
$t->column('elevation', 'float', array('default' => 0));
$t->end();
$this->_populateTable();
$this->commitDbTransaction();
Expand Down

0 comments on commit ccf26a7

Please sign in to comment.