librenms/app/Models/PortStatistic.php
Tony Murray e4b49f59f6
Delete ports via eloquent event (#11354)
* Delete ports via eloquent event
Chunk delete during purge all operations so we don't use too much memory.

* protect against missing device

* fix whitespace

* fetch less from the database when deleting a device's ports
fix output
2020-04-16 09:19:58 -05:00

11 lines
193 B
PHP

<?php
namespace App\Models;
class PortStatistic extends PortRelatedModel
{
protected $table = 'ports_statistics';
protected $primaryKey = 'port_id';
public $timestamps = false;
}