1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 09:02:28 +01:00

Add models for service databases

This commit is contained in:
Dane Everitt 2015-12-08 18:33:33 -05:00
parent 8397dbc62c
commit e77cea6f99
4 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<?php
namespace Pterodactyl\Models;
use Illuminate\Database\Eloquent\Model;
class ServerVariables extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'server_variables';
}

17
app/Models/Service.php Normal file
View File

@ -0,0 +1,17 @@
<?php
namespace Pterodactyl\Models;
use Illuminate\Database\Eloquent\Model;
class Service extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'services';
}

View File

@ -0,0 +1,17 @@
<?php
namespace Pterodactyl\Models;
use Illuminate\Database\Eloquent\Model;
class ServiceOptions extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'service_options';
}

View File

@ -0,0 +1,17 @@
<?php
namespace Pterodactyl\Models;
use Illuminate\Database\Eloquent\Model;
class ServiceVariables extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'service_variables';
}