No need to define class types in postgisFields array
This commit is contained in:
parent
4d1e577f66
commit
d542975b9f
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ class Place extends Model
|
|||
* @var array
|
||||
*/
|
||||
protected $postgisFields = [
|
||||
'location' => Point::class,
|
||||
'polygon' => Polygon::class,
|
||||
'location',
|
||||
'polygon',
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue