feat: tags and tag deploy webhooks

This commit is contained in:
Andras Bacsai committed 2024-02-01 15:38:12 +01:00
1 parent 44efe0b5e1
commit 6312c0ba84
20 files changed
+394 -98

No files matched your search

+4
View File
@@ -211,6 +211,10 @@ class Application extends BaseModel
: explode(',', $this->ports_exposes)
);
}
public function tags()
{
return $this->morphToMany(Tag::class, 'taggable');
}
public function team()
{
return data_get($this, 'environment.project.team');