Added reverse migration
This commit is contained in:
parent
9a49686f93
commit
1c361f504c
1 changed files with 12 additions and 0 deletions
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue