install laravel

This commit is contained in:
2024-10-21 14:54:15 +05:00
parent a553c9082a
commit 45821be3cc

View File

@@ -13,7 +13,9 @@ return new class extends Migration
{ {
Schema::create('users', function (Blueprint $table) { Schema::create('users', function (Blueprint $table) {
$table->id(); $table->id();
$table->string('name'); $table->string('first_name')->nullable()->index();
$table->string('last_name')->nullable()->index();
$table->string('name')->index();
$table->string('email')->unique(); $table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable(); $table->timestamp('email_verified_at')->nullable();
$table->string('password'); $table->string('password');