You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?php
use Illuminate\Database\Migrations\Migration;use Illuminate\Database\Schema\Blueprint;use Illuminate\Support\Facades\Schema;
class UpdateSupplierTable extends Migration{ /** * Run the migrations. * * @return void */ public function up() { Schema::table('suppliers', function (Blueprint $table) { $table->decimal('deposit_normal')->default(0)->comment('交易金正常')->after('balance'); $table->decimal('deposit_frozen')->default(0)->comment('交易金冻结')->after('balance'); $table->decimal('deposit_used')->default(0)->comment('交易金已消费')->after('balance'); }); }
/** * Reverse the migrations. * * @return void */ public function down() { //
}}
|