WIP: User table populated and login

This commit is contained in:
Deon George
2018-07-13 14:53:44 +10:00
parent 96673a9e53
commit 64b6c09b8f
22 changed files with 230 additions and 2692 deletions

View File

@@ -7,4 +7,23 @@ use Illuminate\Database\Eloquent\Model;
class Account extends Model
{
protected $table = 'ab_account';
public $timestamps = FALSE;
/**
* Return the country the user belongs to
*/
public function country()
{
return $this->belongsTo(Country::class);
}
public function language()
{
return $this->belongsTo(Language::class);
}
public function user()
{
return $this->belongsTo(\App\User::class);
}
}