mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
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
This commit is contained in:
15
app/Models/Source.php
Normal file
15
app/Models/Source.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?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"];
|
||||
}
|
Reference in New Issue
Block a user