Update user table

This commit is contained in:
Dayamond
2025-10-21 16:45:39 +02:00
parent ef775c70fe
commit c691f81ebb
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -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();
});
}