Set customer address nullable
This commit is contained in:
parent
22fe9e4bb3
commit
7e3a7fc0ca
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('payment_transactions', function (Blueprint $table) {
|
||||
$table->string('customer_address')->nullable()->change();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('payment_transactions', function (Blueprint $table) {
|
||||
$table->string('customer_address')->change();
|
||||
});
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue