Work in progress determining user type

This commit is contained in:
Deon George
2018-07-06 16:57:49 +10:00
parent 1ac764f05e
commit 14b568b735
15 changed files with 385 additions and 80 deletions

10
app/Models/Account.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Account extends Model
{
protected $table = 'ab_account';
}

View File

@@ -7,4 +7,5 @@ use Illuminate\Database\Eloquent\Model;
class Language extends Model
{
protected $table = 'ab_language';
public $timestamps = FALSE;
}

13
app/Models/Rtm.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Rtm extends Model
{
protected $table = 'ab_rtm';
public $timestamps = FALSE;
}

View File

@@ -7,6 +7,7 @@ use Illuminate\Database\Eloquent\Model;
class Site extends Model
{
protected $table = 'ab_setup';
public $timestamps = FALSE;
protected $casts = [
'address'=>'array',