3b191fa73e
add: coolify version config fix: private key for private git based apps
16 lines
275 B
PHP
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);
|
|
}
|
|
}
|