Reverse column rename in migration's down method
This commit is contained in:
parent
c5b09ed955
commit
296c9a723d
1 changed files with 3 additions and 1 deletions
|
@ -23,6 +23,8 @@ class AlterWarrantyColumnOnAssets extends Migration
|
||||||
*/
|
*/
|
||||||
public function down()
|
public function down()
|
||||||
{
|
{
|
||||||
//
|
Schema::table('assets', function ($table) {
|
||||||
|
$table->renameColumn('warranty_months', 'warrantee_months');
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue