Implement creator studio and upload updates

This commit is contained in:
2026-04-04 10:12:02 +02:00
parent 1da7d3bf88
commit 0b216b7ecd
15107 changed files with 31206 additions and 626514 deletions

View File

@@ -0,0 +1,47 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class ContentModerationActionLog extends Model
{
protected $table = 'content_moderation_action_logs';
public $timestamps = false;
protected $fillable = [
'finding_id',
'target_type',
'target_id',
'action_type',
'actor_type',
'actor_id',
'old_status',
'new_status',
'old_visibility',
'new_visibility',
'notes',
'meta_json',
'created_at',
];
protected $casts = [
'finding_id' => 'integer',
'target_id' => 'integer',
'actor_id' => 'integer',
'meta_json' => 'array',
'created_at' => 'datetime',
];
public function finding(): BelongsTo
{
return $this->belongsTo(ContentModerationFinding::class, 'finding_id');
}
public function actor(): BelongsTo
{
return $this->belongsTo(User::class, 'actor_id');
}
}