<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class ModifyGoodsSnapshot extends Migration { public function up() { try { Schema::table('goods_snapshot', function ($onV5E) { $onV5E->renameColumn('contentUpdatedTime', 'detailUpdatedTime'); }); } catch (\Exception $qoTNG) { } } public function down() { } }