my-idlers/app/Models/IPs.php
cp6 abca765044 Create IP address controller, model and migration
Create IP address controller, model and migration
2022-02-21 11:17:59 +11:00

18 lines
318 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class IPs extends Model
{
use HasFactory;
public $table = 'ips';
protected $fillable = ['id', 'active', 'service_id', 'address', 'is_ipv4'];
public $incrementing = false;
}