diff --git a/app/Models/ServerStats.php b/app/Models/ServerStats.php index 12d7ef1..d8ba0a7 100644 --- a/app/Models/ServerStats.php +++ b/app/Models/ServerStats.php @@ -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'); + } }