add depth to coverage model

This commit is contained in:
Arno Kaimbacher 2019-03-29 18:29:20 +01:00
parent 52b166601c
commit 2f930457d1
13 changed files with 306 additions and 187 deletions

View file

@ -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.