From b777421a60148f92094a087e836228d1001d753d Mon Sep 17 00:00:00 2001 From: JOHN KIMAIYO <87382617+JohnKimaiyo@users.noreply.github.com> Date: Sat, 25 May 2024 16:30:49 +0300 Subject: [PATCH] final --- .../migrations/2014_10_12_000000_create_users_table.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php index 689cbee..44f152b 100644 --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -15,9 +15,9 @@ public function up() { Schema::create('users', function (Blueprint $table) { $table->increments('id'); - $table->string('name'); - $table->string('email')->unique(); - $table->string('password'); + $table->string('name', 255); // Setting a reasonable length constraint + $table->string('email', 255)->unique(); + $table->string('password', 255); $table->rememberToken(); $table->timestamps(); });