tabelle ai_model_api_provider entfernt

This commit is contained in:
2025-08-29 14:09:01 +02:00
parent 9b1f6a479f
commit d271f256b7
11 changed files with 47 additions and 103 deletions

View File

@@ -30,6 +30,6 @@ class ApiProvider extends Model
public function aiModels()
{
return $this->belongsToMany(AiModel::class, 'ai_model_api_provider');
return $this->hasMany(AiModel::class, 'api_provider_id');
}
}