db_hosts: add ability to link more than one node

This commit is contained in:
Matthew Penner 2021-01-15 09:20:15 -07:00
parent 79d80e8c22
commit e123367f40
11 changed files with 226 additions and 35 deletions

View file

@ -0,0 +1,27 @@
<?php
namespace Pterodactyl\Models;
use Illuminate\Database\Eloquent\Model;
/**
* @property int $node_id
* @property int $database_host_id
*/
class DatabaseHostNode extends Model
{
/**
* @var string
*/
protected $table = 'database_host_node';
/**
* @var null
*/
protected $primaryKey = null;
/**
* @var bool
*/
public $incrementing = false;
}