moving to provider stored in database
This commit is contained in:
@@ -16,7 +16,6 @@ class Network extends Model
|
||||
{
|
||||
return [
|
||||
'type' => NetworkType::class,
|
||||
'provider' => ServerProvider::class,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -34,4 +33,9 @@ class Network extends Model
|
||||
{
|
||||
return $this->belongsTo(Organisation::class);
|
||||
}
|
||||
|
||||
public function provider(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Provider::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user