This commit is contained in:
jitendra 2020-06-30 13:23:06 +05:30
parent 1976f0e9f3
commit c6d23bfdeb
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();
});
}