mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 00:14:24 +00:00
feat: shared environments
This commit is contained in:
1 parent
abcc004953
commit
fb478c79b3
42 files changed
+495
-78
No files matched your search
+3
-1
@@ -70,7 +70,9 @@ class Team extends Model implements SendsDiscord, SendsEmail
|
||||
|
||||
);
|
||||
}
|
||||
|
||||
public function environment_variables() {
|
||||
return $this->hasMany(SharedEnvironmentVariable::class)->whereNull('project_id')->whereNull('environment_id');
|
||||
}
|
||||
public function members()
|
||||
{
|
||||
return $this->belongsToMany(User::class, 'team_user', 'team_id', 'user_id')->withPivot('role');
|
||||
|
||||
Reference in new issue
Block a user