ro
3c0762344e
now that editing member work, that process needed to be fleshed out by adding an admin method to add new members as well. now new members can be added by an admin also changed the name of a blade file that wasn't following the template naming convention
29 lines
551 B
PHP
29 lines
551 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use App\Models\User as Authenticatable;
|
|
|
|
class Member extends Authenticatable
|
|
{
|
|
use HasFactory;
|
|
|
|
public $timestamps = false;
|
|
protected $table = "member";
|
|
protected $primaryKey = 'id';
|
|
public $incrementing = true;
|
|
protected $fillable = [
|
|
"uuid",
|
|
"handle",
|
|
"email",
|
|
"password",
|
|
"active",
|
|
"role",
|
|
"avatar",
|
|
"pronoun",
|
|
"created_at",
|
|
"last_login"
|
|
];
|
|
}
|