fix single device route
This commit is contained in:
@ -7,6 +7,15 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Device extends Model
|
||||
{
|
||||
/**
|
||||
* Timestamps are disabled.
|
||||
* @var boolean
|
||||
*/
|
||||
public $timestamps = false;
|
||||
/**
|
||||
* The primary key associated with the table Devices.
|
||||
* @var string
|
||||
*/
|
||||
protected $primaryKey = 'device_id';
|
||||
use HasFactory;
|
||||
}
|
Reference in New Issue
Block a user