1
0
Fork 0
pixelfed/app/Models/HashtagRelated.php

25 lines
491 B
PHP
Raw Normal View History

2023-11-16 13:06:22 +00:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class HashtagRelated extends Model
{
use HasFactory;
protected $guarded = [];
2023-11-16 13:06:22 +00:00
/**
* The attributes that should be mutated to dates and other custom formats.
*
* @var array
*/
protected $casts = [
'related_tags' => 'array',
'last_calculated_at' => 'datetime',
'last_moderated_at' => 'datetime',
];
}