From c6d23bfdebd8ae2bde3703c688559b8904b4b050 Mon Sep 17 00:00:00 2001 From: jitendra Date: Tue, 30 Jun 2020 13:23:06 +0530 Subject: [PATCH] Issue #3373 fixed --- ...62340_change_email_password_columns_in_customers_table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/Webkul/SocialLogin/src/Database/Migrations/2020_06_25_162340_change_email_password_columns_in_customers_table.php b/packages/Webkul/SocialLogin/src/Database/Migrations/2020_06_25_162340_change_email_password_columns_in_customers_table.php index ec7e1e609..58ac1e82d 100644 --- a/packages/Webkul/SocialLogin/src/Database/Migrations/2020_06_25_162340_change_email_password_columns_in_customers_table.php +++ b/packages/Webkul/SocialLogin/src/Database/Migrations/2020_06_25_162340_change_email_password_columns_in_customers_table.php @@ -14,7 +14,7 @@ class ChangeEmailPasswordColumnsInCustomersTable extends Migration public function up() { Schema::table('customers', function (Blueprint $table) { - $table->string('email')->unique()->nullable()->change(); + $table->string('email')->nullable()->change(); $table->string('password')->nullable()->change(); }); } @@ -27,7 +27,7 @@ class ChangeEmailPasswordColumnsInCustomersTable extends Migration public function down() { Schema::table('customers', function (Blueprint $table) { - $table->string('email')->unique()->nullable(false)->change(); + $table->string('email')->nullable(false)->change(); $table->string('password')->nullable(false)->change(); }); }