Fixes bug causing MySQL user accounts to be corrupted when resetting a password via the panel.
closes #352
This commit is contained in:
parent
d5352e2b1e
commit
202dd52e2b
5 changed files with 23 additions and 11 deletions
|
@ -68,7 +68,7 @@ class Database extends Model
|
|||
*/
|
||||
public function host()
|
||||
{
|
||||
return $this->belongsTo(DatabaseHost::class);
|
||||
return $this->belongsTo(DatabaseHost::class, 'database_host_id');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue