海南旅游SAAS
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.
 
 
 

32 lines
736 B

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UpdateStatementTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('statement', function (Blueprint $table) {
$table->string('access_type')->index()->default('')->comment('关联类型 目前有订单 和提现')->after('user_type');
$table->integer('access_id')->index()->default(0)->comment('关联')->after('user_type');
$table->dropColumn('order_id');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}