Added reverse migration

This commit is contained in:
noah.lancien 2023-04-11 15:03:24 +00:00
parent 9a49686f93
commit 1c361f504c

View file

@ -33,5 +33,17 @@ class ChangeTicketsStatus extends Migration
*/
public function down()
{
Ticket::where('status', 3)
->update(['status' => 10]);
Ticket::where('status', 4)
->update(['status' => 9]);
Ticket::where('status', 5)
->update(['status' => 17]);
Ticket::where('status', 6)
->update(['status' => 12]);
Ticket::where('status', 7)
->update(['status' => 13]);
Ticket::where('status', 8)
->update(['status' => 15]);
}
}