mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-18 05:58:18 +01:00
fix rename -> renameColumn introduced in 072f5885a
This commit is contained in:
parent
94cebe8d0d
commit
f81e54e493
@ -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');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user