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
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $postgisFields = [
|
protected $postgisFields = [
|
||||||
'location' => Point::class,
|
'location',
|
||||||
'polygon' => Polygon::class,
|
'polygon',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue