Bug: typo in the sensor_id key for sensors table (#9306)

This commit is contained in:
PipoCanaja
2018-10-08 13:57:12 -05:00
committed by Tony Murray
parent dd39a1ab03
commit 138ccf87d1
+1 -1
View File
@@ -5,7 +5,7 @@ namespace App\Models;
class Sensor extends BaseModel
{
public $timestamps = false;
protected $primaryKey = 'sensors_id';
protected $primaryKey = 'sensor_id';
protected static $icons = array(
'fanspeed' => 'tachometer',