This commit is contained in:
ct
2025-06-20 13:03:52 +08:00
parent eef45fdc9d
commit b502120091
22 changed files with 426 additions and 164 deletions

View File

@@ -29,12 +29,10 @@
* @property Carbon|null $created_at
* @property Carbon|null $updated_at
* @property string|null $deleted_at
*
* @package App\Models
*/
class Meme extends Model
{
use SoftDeletes, HasTags;
use HasTags, SoftDeletes;
protected $table = 'memes';
@@ -49,6 +47,10 @@ class Meme extends Model
'meme_keywords' => 'array',
'keywords' => 'array',
'action_keywords' => 'array',
'emotion_keywords' => 'array',
'misc_keywords' => 'array',
];
protected $fillable = [
@@ -63,7 +65,10 @@ class Meme extends Model
'caption',
'meme_keywords',
'background',
'keywords'
'keywords',
'action_keywords',
'emotion_keywords',
'misc_keywords',
];
public function meme_media()