mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 14:17:18 +00:00
rename postgres to standalonepostgres
This commit is contained in:
1 parent
a020bc872d
commit
20e1cd6d6b
10 files changed
+29
-14
No files matched your search
@@ -33,7 +33,7 @@ class Environment extends Model
|
||||
}
|
||||
public function postgresqls()
|
||||
{
|
||||
return $this->hasMany(Postgresql::class);
|
||||
return $this->hasMany(StandalonePostgres::class);
|
||||
}
|
||||
public function services()
|
||||
{
|
||||
|
||||
@@ -48,6 +48,6 @@ class Project extends BaseModel
|
||||
}
|
||||
public function postgresqls()
|
||||
{
|
||||
return $this->hasManyThrough(Postgresql::class, Environment::class);
|
||||
return $this->hasManyThrough(StandalonePostgres::class, Environment::class);
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@ class StandaloneDocker extends BaseModel
|
||||
}
|
||||
public function postgresqls()
|
||||
{
|
||||
return $this->morphMany(Postgresql::class, 'destination');
|
||||
return $this->morphMany(StandalonePostgres::class, 'destination');
|
||||
}
|
||||
public function server()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
|
||||
class Postgresql extends BaseModel
|
||||
class StandalonePostgres extends BaseModel
|
||||
{
|
||||
use HasFactory;
|
||||
protected $guarded = [];
|
||||
Reference in new issue
Block a user