Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/app/Models/TaskLog.php
7432 views
1
<?php
2
3
namespace Pterodactyl\Models;
4
5
use Illuminate\Database\Eloquent\Model;
6
7
class TaskLog extends Model
8
{
9
/**
10
* The table associated with the model.
11
*/
12
protected $table = 'tasks_log';
13
14
/**
15
* Fields that are not mass assignable.
16
*/
17
protected $guarded = ['id', 'created_at', 'updated_at'];
18
19
/**
20
* Cast values to correct type.
21
*/
22
protected $casts = [
23
'id' => 'integer',
24
'task_id' => 'integer',
25
'run_status' => 'integer',
26
'run_time' => 'datetime',
27
'created_at' => 'datetime',
28
'updated_at' => 'datetime',
29
];
30
}
31
32