<commit_before><?php

class Actionlog extends Eloquent
{
	use SoftDeletingTrait;
    protected $dates = ['deleted_at'];

    protected $table = 'asset_logs';
    public $timestamps = false;


    public function assetlog()
    {
        return $this->belongsTo('Asset','asset_id')->withTrashed();
    }

     public function uploads()
    {
        return $this->belongsTo('Asset','asset_id')->where('action_type','=','uploaded')->withTrashed();
    }

    public function licenselog()
    {
        return $this->belongsTo('License','asset_id');
    }

    public function adminlog()
    {
        return $this->belongsTo('User','user_id');
    }

    public function userlog()<commit_msg>Fixes #499 - timestamps in asset logs<commit_after><?php

class Actionlog extends Eloquent
{
	use SoftDeletingTrait;
    protected $dates = ['deleted_at'];

    protected $table = 'asset_logs';
    public $timestamps = true;


    public function assetlog()
    {
        return $this->belongsTo('Asset','asset_id')->withTrashed();
    }

     public function uploads()
    {
        return $this->belongsTo('Asset','asset_id')->where('action_type','=','uploaded')->withTrashed();
    }

    public function licenselog()
    {
        return $this->belongsTo('License','asset_id');
    }

    public function adminlog()
    {
        return $this->belongsTo('User','user_id');
    }

    public function userlog()
{'fraction_non_alphanumeric': 0.1511047754811119, 'fraction_numerical': 0.0021382751247327157, 'mean_word_length': 3.2035928143712575, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6780346', 'n_tokens_mistral': 441, 'n_tokens_neox': 426, 'n_words': 82}