mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-16 12:33:03 +00:00
17 lines
246 B
PHP
17 lines
246 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
class Database extends BaseModel
|
|
{
|
|
public function environment()
|
|
{
|
|
return $this->belongsTo(Environment::class);
|
|
}
|
|
|
|
public function destination()
|
|
{
|
|
return $this->morphTo();
|
|
}
|
|
}
|