worked on the new onboarding steps
This commit is contained in:
16
app/Models/LoggedUser.php
Normal file
16
app/Models/LoggedUser.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class LoggedUser extends Model
|
||||
{
|
||||
protected $guarded = array('id');
|
||||
public $table = "logged_users";
|
||||
|
||||
|
||||
public function auth_user_info(){
|
||||
return $this->hasOne('App\Models\Account', 'id', 'user_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user