feat: initial api endpoints

feat: server resources are now looks better
This commit is contained in:
Andras Bacsai committed 2024-02-16 21:56:38 +01:00
1 parent 3539e4dce9
commit b8708f086e
24 files changed
+318 -142

No files matched your search

+4
View File
@@ -82,6 +82,10 @@ class StandalonePostgresql extends BaseModel
{
return $this->morphToMany(Tag::class, 'taggable');
}
public function project()
{
return data_get($this, 'environment.project');
}
public function link()
{
if (data_get($this, 'environment.project.uuid')) {