fix rename -> renameColumn introduced in 072f5885a

This commit is contained in:
Aaron C. de Bruyn 2014-12-24 14:31:39 -08:00
parent 94cebe8d0d
commit f81e54e493

View File

@ -14,7 +14,7 @@ class AlterTableIncidentsRenameComponentColumn extends Migration
public function up()
{
Schema::table('incidents', function (Blueprint $table) {
$table->rename('component', 'component_id');
$table->renameColumn('component', 'component_id');
});
}
@ -26,7 +26,7 @@ class AlterTableIncidentsRenameComponentColumn extends Migration
public function down()
{
Schema::table('incidents', function (Blueprint $table) {
$table->rename('component_id', 'component');
$table->renameColumn('component_id', 'component');
});
}
}