ufutx.dma/database/migrations/2024_02_21_134602_create_payments_table.php
2026-03-04 14:42:40 +08:00

34 lines
703 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('payments', function (Blueprint $table) {
$table->id();
$table->string('name', 50)->comment("名称");
$table->string('sub_mch_id',20)->comment("子商户id");
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('payments');
}
};