unsignedInteger('channel_id'); $table->dropIndex('device_no'); $table->index(['device_no', 'channel_id'], 'idx_device_no'); }); DB::table('qapp_users')->update(['channel_id' => env('QUICKAPP_SITE')]); } if (!Schema::hasTable('qapp_package_info')) { Schema::create('qapp_package_info', function (Blueprint $table) { $table->increments('id'); $table->integer('channel_id'); $table->string('package', 255); $table->string('company', 255); $table->integer('app_pay_merchat_id'); $table->integer('h5_pay_merchat_id'); $table->integer('ali_pay_merchat_id'); $table->timestamps(); }); } } }