Skip to content

Commit

Permalink
need to construct serverstats
Browse files Browse the repository at this point in the history
  • Loading branch information
originalaidn committed Nov 21, 2024
1 parent fe15e1d commit 03af1c9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/Models/ServerStats.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,10 @@ public function server()
{
return $this->belongsTo(SaServer::class, 'server_id');
}

public function __construct(array $attributes = [])
{
parent::__construct($attributes);
$this->setConnection('mysql');
}
}

0 comments on commit 03af1c9

Please sign in to comment.