'boolean', 'login_successful' => 'boolean', 'login_at' => 'datetime', 'logout_at' => 'datetime', ]; /** * MorphTo relation to get the associated authenticatable user * * @return MorphTo<\Illuminate\Database\Eloquent\Model, AuthLog> */ public function authenticatable() { return $this->morphTo(); } }