Skip to content

Commit e77cea6

Browse files
committed
Add models for service databases
1 parent 8397dbc commit e77cea6

File tree

4 files changed

+68
-0
lines changed

4 files changed

+68
-0
lines changed

app/Models/ServerVariables.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
namespace Pterodactyl\Models;
4+
5+
use Illuminate\Database\Eloquent\Model;
6+
7+
class ServerVariables extends Model
8+
{
9+
10+
/**
11+
* The table associated with the model.
12+
*
13+
* @var string
14+
*/
15+
protected $table = 'server_variables';
16+
17+
}

app/Models/Service.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
namespace Pterodactyl\Models;
4+
5+
use Illuminate\Database\Eloquent\Model;
6+
7+
class Service extends Model
8+
{
9+
10+
/**
11+
* The table associated with the model.
12+
*
13+
* @var string
14+
*/
15+
protected $table = 'services';
16+
17+
}

app/Models/ServiceOptions.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
namespace Pterodactyl\Models;
4+
5+
use Illuminate\Database\Eloquent\Model;
6+
7+
class ServiceOptions extends Model
8+
{
9+
10+
/**
11+
* The table associated with the model.
12+
*
13+
* @var string
14+
*/
15+
protected $table = 'service_options';
16+
17+
}

app/Models/ServiceVariables.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
namespace Pterodactyl\Models;
4+
5+
use Illuminate\Database\Eloquent\Model;
6+
7+
class ServiceVariables extends Model
8+
{
9+
10+
/**
11+
* The table associated with the model.
12+
*
13+
* @var string
14+
*/
15+
protected $table = 'service_variables';
16+
17+
}

0 commit comments

Comments
 (0)