Update (disabled) telemetry settings.

This commit is contained in:
James Cole
2020-03-21 15:42:37 +01:00
parent cf4f76f211
commit f76585dc9b
48 changed files with 95 additions and 49 deletions

View File

@@ -29,10 +29,20 @@ use Illuminate\Database\Eloquent\Model;
*/
class Telemetry extends Model
{
/** @var string */
/** @var string */
protected $table = 'telemetry';
/** @var array */
protected $fillable = ['installation_id','submitted','user_id','key','type','value'];
/** @var array */
protected $fillable = ['installation_id', 'submitted', 'user_id', 'key', 'type', 'value'];
/**
* The attributes that should be cast to native types.
*
* @var array
*/
protected $casts
= [
'submitted' => 'datetime',
'value' => 'array',
];
}