Add paliers commissions for agent
This commit is contained in:
parent
a8da94529d
commit
61b2c481c9
|
@ -0,0 +1,37 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
class CreatePaliersCommissionsWallet extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::create('paliers_commissions_wallet', function (Blueprint $table) {
|
||||||
|
$table->id();
|
||||||
|
$table->string('type');
|
||||||
|
$table->double('min')->default(0);
|
||||||
|
$table->double('max')->default(0);
|
||||||
|
$table->double('taux')->default(0);
|
||||||
|
$table->decimal('plafond')->nullable();
|
||||||
|
$table->integer('idConfig');
|
||||||
|
$table->timestamps();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('paliers_commissions_wallet');
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue