From 61b2c481c9fcddebc16c00ecd536f7f8accfc9d7 Mon Sep 17 00:00:00 2001 From: Djery-Tom Date: Tue, 19 Apr 2022 17:12:13 +0100 Subject: [PATCH] Add paliers commissions for agent --- ...3050_create_paliers_commissions_wallet.php | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 database/migrations/2022_04_18_113050_create_paliers_commissions_wallet.php diff --git a/database/migrations/2022_04_18_113050_create_paliers_commissions_wallet.php b/database/migrations/2022_04_18_113050_create_paliers_commissions_wallet.php new file mode 100644 index 0000000..5e7dcd5 --- /dev/null +++ b/database/migrations/2022_04_18_113050_create_paliers_commissions_wallet.php @@ -0,0 +1,37 @@ +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'); + } +}