Merge pull request #3385 from jitendra-webkul/1.0

Issue #3373 fixed
This commit is contained in:
Jitendra Singh 2020-06-30 13:24:06 +05:30 committed by GitHub
commit 3bb0335ea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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();
});
}