moving to provider stored in database

This commit is contained in:
2025-04-07 14:38:28 +01:00
parent 6bd12bd6ca
commit b800a9d83a
11 changed files with 100 additions and 14 deletions

View File

@@ -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);
}
}