feat: token permissions
feat: handle sensitive data feat: handle read-only data
This commit is contained in:
@@ -213,15 +213,6 @@ class StandalonePostgresql extends BaseModel
|
||||
);
|
||||
}
|
||||
|
||||
public function get_db_url(bool $useInternal = false)
|
||||
{
|
||||
if ($this->is_public && ! $useInternal) {
|
||||
return $this->externalDbUrl;
|
||||
} else {
|
||||
return $this->internalDbUrl;
|
||||
}
|
||||
}
|
||||
|
||||
public function environment()
|
||||
{
|
||||
return $this->belongsTo(Environment::class);
|
||||
|
Reference in New Issue
Block a user