forked from projects/thebadspace
ro
8353d154c4
the update process now compiles public comments from instance blocklists and displays them, so the name of the table that stores these comments has been changed so it's not confusing. also made the appropriate changes on the backend and in the template that shows that information
41 lines
779 B
PHP
41 lines
779 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
class Location extends Model
|
|
{
|
|
use HasFactory;
|
|
use SoftDeletes;
|
|
|
|
/**
|
|
* The table associated with the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $table = "location";
|
|
|
|
protected $primaryKey = 'id';
|
|
public $incrementing = true;
|
|
protected $fillable = [
|
|
"uuid",
|
|
"name",
|
|
"url",
|
|
"public_comments",
|
|
"images",
|
|
"active",
|
|
"rating",
|
|
"added_by",
|
|
"tags",
|
|
"block_count",
|
|
"silence_count",
|
|
"created_at",
|
|
"updated_at",
|
|
"actions_count",
|
|
"archive_links"
|
|
];
|
|
}
|