/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('free_resources', function (Blueprint $table) {
DB::statement("ALTER TABLE free_resources CHANGE COLUMN type type VARCHAR(255) DEFAULT '' comment '资料类型' ");
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('free_resources', function (Blueprint $table) {
$table->dropColumn('type');
});
}