2025_11_20_145643_update_rebates.php 763 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. use Illuminate\Database\Migrations\Migration;
  3. use Illuminate\Database\Schema\Blueprint;
  4. use Illuminate\Support\Facades\Schema;
  5. return new class extends Migration {
  6. /**
  7. * Run the migrations.
  8. *
  9. * @return void
  10. */
  11. public function up()
  12. {
  13. Schema::table('rebates', function (Blueprint $table) {
  14. $table->decimal('profit', 10, 2)->default(0)->comment('当日输赢');
  15. $table->decimal('huishui_percentage', 10, 2)->default(0)->comment('回水比例');
  16. $table->decimal('huishui_restriction', 10, 2)->default(0)->comment('回水限制值');
  17. });
  18. //
  19. }
  20. /**
  21. * Reverse the migrations.
  22. *
  23. * @return void
  24. */
  25. public function down()
  26. {
  27. //
  28. }
  29. };