thebadspace/app/Models/Source.php
Ro 565f099c90
Implemented internal blocklist sourcing
Switched from using external CSV exports to having the system talk to
instances directly to build and update the database.

NOTE: Added a new table called Source with the corresponding model to
access it
2023-09-01 15:22:57 -07:00

16 lines
319 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Source extends Model
{
use HasFactory;
protected $table = "source";
public $timestamps = false;
protected $fillable = ["url", "type", "active", "format", "token"];
}