2025_11_12_110725_create_banks.php 964 B

1234567891011121314151617181920212223242526272829303132333435
  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::create('banks', function (Blueprint $table) {
  14. $table->id();
  15. $table->string('member_id')->comment('tg 会员ID');
  16. $table->string('channel')->comment(" 提现通道 DF001 支付宝转卡/DF002 支付宝转支付宝");
  17. $table->string("bank_name")->comment('银行名称/支付宝');
  18. $table->string("account")->comment('姓名');
  19. $table->string("card_no")->comment('银行卡号/支付宝账号');
  20. $table->timestamps();
  21. });
  22. }
  23. /**
  24. * Reverse the migrations.
  25. *
  26. * @return void
  27. */
  28. public function down()
  29. {
  30. Schema::dropIfExists('banks');
  31. }
  32. };