fix: settings for apps and projects
add: coolify version config fix: private key for private git based apps
This commit is contained in:
@@ -4,6 +4,14 @@ namespace App\Models;
|
||||
|
||||
class Project extends BaseModel
|
||||
{
|
||||
protected static function booted()
|
||||
{
|
||||
static::created(function ($project) {
|
||||
ProjectSetting::create([
|
||||
'project_id' => $project->id,
|
||||
]);
|
||||
});
|
||||
}
|
||||
public function environments() {
|
||||
return $this->hasMany(Environment::class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user