Merge pull request #1 from antons-/antons--patch-1

🐛 Update example to support 100+ longitudes
This commit is contained in:
Loz Calver 2018-12-07 08:24:06 +00:00 committed by GitHub
commit eb88c2f33d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class MyDataObject extends DataObject
{ {
private static $db = [ private static $db = [
'Latitude' => 'Decimal(10, 8)', 'Latitude' => 'Decimal(10, 8)',
'Longitude' => 'Decimal(10, 8)' 'Longitude' => 'Decimal(11, 8)'
]; ];
public function getCMSFields() public function getCMSFields()