Migrate HickLab3D dashboard and add production auto deployment
Deploy HickLab3D Dashboard / Deploy to production (push) Failing after 19s
Deploy HickLab3D Dashboard / Deploy to production (push) Failing after 19s
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Database\Factories\PrinterTelemetryFactory;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PrinterTelemetry extends Model
|
||||
{
|
||||
/** @use HasFactory<PrinterTelemetryFactory> */
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'printerTelemetry';
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $fillable = ['printerId', 'telemetry'];
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return ['telemetry' => 'array', 'recordedAt' => 'datetime'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user