master
cody 4 months ago
parent 36b1e678d6
commit 83856f357a

@ -0,0 +1,37 @@
<?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::table('course_signs', function (Blueprint $table) {
// 订单号
$table->string('no')->nullable()->comment('订单号');
// 订单金额
$table->decimal('money', 10, 2)->nullable()->comment('订单金额');
// 标题
$table->string('title')->nullable()->comment('标题');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('course_signs', function (Blueprint $table) {
//
});
}
};
Loading…
Cancel
Save