Reverse column rename in migration's down method

This commit is contained in:
Marcus Moore 2023-01-10 17:22:29 -08:00
parent c5b09ed955
commit 296c9a723d
No known key found for this signature in database

View file

@ -23,6 +23,8 @@ class AlterWarrantyColumnOnAssets extends Migration
*/
public function down()
{
//
Schema::table('assets', function ($table) {
$table->renameColumn('warranty_months', 'warrantee_months');
});
}
}