lasthourcloud/app/Models/GithubApp.php
Andras Bacsai 3b191fa73e fix: settings for apps and projects
add: coolify version config
fix: private key for private git based apps
2023-03-30 11:09:39 +02:00

16 lines
275 B
PHP

<?php
namespace App\Models;
class GithubApp extends BaseModel
{
public function applications()
{
return $this->morphMany(Application::class, 'source');
}
public function privateKey()
{
return $this->belongsTo(PrivateKey::class);
}
}