Rolling back the migrations fail with the following error
SQLSTATE[HY000]: General error: 1828 Cannot drop column 'batch_id': needed in a foreign key constraint 'job_status_job_statuses_batch_id_foreign' (SQL: alter table `job_status_job_statuses` drop `batch_id`)
So either ignore foreign key checks during rollback, or drop the tables in the right order.
It happens while rolling back the second migration file:
Rolling back the migrations fail with the following error
So either ignore foreign key checks during rollback, or drop the tables in the right order.
It happens while rolling back the second migration file: