enhance cutomer info uuid column type
This commit is contained in:
parent
5c770eb9d5
commit
a256cb2986
1 changed files with 31 additions and 0 deletions
|
|
@ -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.
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue