Update user table
This commit is contained in:
@@ -19,8 +19,12 @@ class User extends Authenticatable
|
||||
*/
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'lastname',
|
||||
'email',
|
||||
'password',
|
||||
'phone',
|
||||
'validate',
|
||||
'role',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -14,8 +14,12 @@ return new class extends Migration
|
||||
Schema::create('users', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('lastname');
|
||||
$table->string('email')->unique();
|
||||
$table->string('password');
|
||||
$table->string('phone')->nullable();
|
||||
$table->integer('validate');
|
||||
$table->integer('role');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user