enhance cutomer info uuid column type

This commit is contained in:
Jérémy Munsch 2023-06-23 17:25:25 +02:00
parent 5c770eb9d5
commit a256cb2986
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -0,0 +1,31 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class EnhanceCustomerInfosHashcode extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('customer_infos', function (Blueprint $table) {
$table->uuid('hashcode')
->comment('Customer hashcode relative for a specific brand')->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
// * No need to undo that.
}
}