fix: do not allow to delete env if a resource is defined
This commit is contained in:
@@ -18,7 +18,7 @@ class Project extends BaseModel
|
||||
'project_id' => $project->id,
|
||||
]);
|
||||
Environment::create([
|
||||
'name' => 'Production',
|
||||
'name' => 'production',
|
||||
'project_id' => $project->id,
|
||||
]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user