app/Models/UserAction.php
<?php
namespace Strimoid\Models;
use Strimoid\Models\Traits\HasUserRelationship;
class UserAction extends BaseModel
{
use HasUserRelationship;
public const UPDATED_AT = null;
public $incrementing = false;
protected $table = 'user_actions';
protected $primaryKey = null;
protected static $unguarded = true;
public function element()
{
return $this->morphTo();
}
}