mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 22:14:26 +00:00
woah
This commit is contained in:
1 parent
50bac2c056
commit
bbcabc8e71
31 files changed
+636
-472
No files matched your search
@@ -22,6 +22,11 @@ class Project extends BaseModel
|
||||
'team_id',
|
||||
'project_id'
|
||||
];
|
||||
static public function ownedByCurrentTeam()
|
||||
{
|
||||
return Project::whereTeamId(session('currentTeam')->id);
|
||||
}
|
||||
|
||||
public function environments()
|
||||
{
|
||||
return $this->hasMany(Environment::class);
|
||||
|
||||
Reference in new issue
Block a user