Rework Site and top level tables
This commit is contained in:
@@ -6,9 +6,10 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Country extends Model
|
||||
{
|
||||
protected $table = 'ab_country';
|
||||
public $timestamps = FALSE;
|
||||
|
||||
/* RELATIONS */
|
||||
|
||||
/**
|
||||
* The currency this country belongs to
|
||||
*/
|
||||
@@ -21,12 +22,4 @@ class Country extends Model
|
||||
{
|
||||
return $this->hasMany(Tax::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* The accounts in this country
|
||||
*/
|
||||
public function users()
|
||||
{
|
||||
return $this->hasMany(User::class);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user