mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
Reverse column rename in migration's down method
This commit is contained in:
parent
c5b09ed955
commit
296c9a723d
|
@ -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…
Reference in a new issue