SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`pharmacy_db`.`sale_lines`, CONSTRAINT `sale_lines_ibfk_3` FOREIGN KEY (`batch_id`) REFERENCES `product_batches` (`id`))
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`pharmacy_db`.`sale_lines`, CONSTRAINT `sale_lines_ibfk_3` FOREIGN KEY (`batch_id`) REFERENCES `product_batches` (`id`))
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`pharmacy_db`.`sale_lines`, CONSTRAINT `sale_lines_ibfk_3` FOREIGN KEY (`batch_id`) REFERENCES `product_batches` (`id`))
