announce log add more field

This commit is contained in:
xiaomlove
2025-07-13 22:17:29 +07:00
parent b3b11f418c
commit b81cf0c1c6
10 changed files with 255 additions and 59 deletions

View File

@@ -10,12 +10,14 @@ use Illuminate\Database\Eloquent\Casts\Attribute;
class AnnounceLog extends NexusModel
{
protected $fillable = [
'timestamp', 'user_id', 'passkey', 'torrent_id', 'info_hash', 'torrent_size', 'event', 'peer_id',
'uploaded_total', 'uploaded_increment', 'uploaded_offset',
'downloaded_total', 'downloaded_increment', 'downloaded_offset',
'announce_time', 'ip', 'ipv4', 'ipv6', 'port', 'agent', 'left', 'started', 'prev_action', 'last_action',
'timestamp', 'user_id', 'passkey', 'torrent_id', 'info_hash', 'torrent_size',
'promotion_state', 'promotion_state_desc', 'up_factor', 'up_factor_desc', 'down_factor', 'down_factor_desc',
'event', 'peer_id',
'uploaded_total_last', 'uploaded_total', 'uploaded_increment', 'uploaded_increment_for_user','uploaded_offset',
'downloaded_total_last', 'downloaded_total', 'downloaded_increment', 'downloaded_increment_for_user', 'downloaded_offset',
'announce_time', 'speed', 'ip', 'ipv4', 'ipv6', 'port', 'agent', 'left', 'started', 'prev_action', 'last_action',
'client_select', 'seeder_count', 'leecher_count', 'scheme', 'host', 'path',
'continent', 'country', 'city', 'request_id'
'continent', 'country', 'city', 'request_id', 'batch_no'
];
protected $table = null;