add depth to coverage model
This commit is contained in:
parent
52b166601c
commit
2f930457d1
13 changed files with 306 additions and 187 deletions
|
@ -15,7 +15,11 @@ class Coverage extends Model
|
|||
'elevation_absolut',
|
||||
'depth_min',
|
||||
'depth_max',
|
||||
'depth_absolut'
|
||||
'depth_absolut',
|
||||
'time_min',
|
||||
'time_max',
|
||||
'time_absolut',
|
||||
'xmin', 'xmax', 'ymin', 'ymax'
|
||||
];
|
||||
|
||||
public function dataset()
|
||||
|
|
|
@ -65,10 +65,10 @@ class Dataset extends Model
|
|||
/**
|
||||
* Get the geolocation that owns the dataset.
|
||||
*/
|
||||
public function geolocation()
|
||||
{
|
||||
return $this->hasOne(GeolocationBox::class, 'dataset_id', 'id');
|
||||
}
|
||||
// public function geolocation()
|
||||
// {
|
||||
// return $this->hasOne(GeolocationBox::class, 'dataset_id', 'id');
|
||||
// }
|
||||
|
||||
/**
|
||||
* Get the coverage that owns the dataset.
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue