mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 20:15:36 +00:00
fix: settings for apps and projects
add: coolify version config fix: private key for private git based apps
This commit is contained in:
1 parent
90424d9847
commit
3b191fa73e
11 files changed
+62
-25
No files matched your search
@@ -7,6 +7,15 @@ use Spatie\Activitylog\Models\Activity;
|
||||
|
||||
class Application extends BaseModel
|
||||
{
|
||||
protected static function booted()
|
||||
{
|
||||
static::created(function ($application) {
|
||||
ApplicationSetting::create([
|
||||
'application_id' => $application->id,
|
||||
]);
|
||||
});
|
||||
}
|
||||
|
||||
public function environment()
|
||||
{
|
||||
return $this->belongsTo(Environment::class);
|
||||
|
||||
Reference in new issue
Block a user