<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class ModifyMemberIdBig extends Migration { public function up() { goto lnAPr; yWial: Schema::table('member_money_cash', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); $GocOS->unsignedBigInteger('memberUserId')->change(); }); goto kkMBU; kkMBU: Schema::table('member_money', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); $GocOS->unsignedBigInteger('memberUserId')->change(); }); goto JRKvG; kCKYj: Schema::table('member_upload_category', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); $GocOS->unsignedBigInteger('pid')->change(); $GocOS->unsignedBigInteger('userId')->change(); }); goto Np5ji; LMhJ_: Schema::table('member_meta', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); $GocOS->unsignedBigInteger('memberUserId')->change(); }); goto A7zrt; wH2nm: Schema::table('member_upload', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); $GocOS->unsignedBigInteger('userId')->change(); $GocOS->unsignedBigInteger('dataId')->change(); }); goto kCKYj; KISUN: Schema::table('member_credit_log', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); $GocOS->unsignedBigInteger('memberUserId')->change(); }); goto gqX9g; GDZ2r: Schema::table('member_message', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); $GocOS->unsignedBigInteger('userId')->change(); $GocOS->unsignedBigInteger('fromId')->change(); }); goto VDwyz; X1w6z: Schema::table('member_oauth', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); $GocOS->unsignedBigInteger('memberUserId')->change(); }); goto wH2nm; D8vMF: Schema::table('member_credit', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); $GocOS->unsignedBigInteger('memberUserId')->change(); }); goto KISUN; Np5ji: Schema::table('member_address', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); $GocOS->unsignedBigInteger('memberUserId')->change(); }); goto yWial; VDwyz: Schema::table('member_favorite', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); $GocOS->unsignedBigInteger('userId')->change(); }); goto X1w6z; ZT2Ug: Schema::table('member_deleted', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); }); goto LMhJ_; lnAPr: Schema::table('member_user', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); }); goto GDZ2r; gqX9g: Schema::table('member_money_charge_order', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); $GocOS->unsignedBigInteger('memberUserId')->change(); }); goto uJin0; uJin0: Schema::table('member_vip_order', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); $GocOS->unsignedBigInteger('memberUserId')->change(); }); goto ZT2Ug; JRKvG: Schema::table('member_money_log', function (Blueprint $GocOS) { $GocOS->bigIncrements('id')->change(); $GocOS->unsignedBigInteger('memberUserId')->change(); }); goto D8vMF; A7zrt: } public function down() { } }