When you delete an inject that already has a schedule setup, bad things happen. We should either cascade the delete (`delete from schedule where inject_id = ?`) or block the delete until all the schedules are deleted. Personally, I'm for the second option.
When you delete an inject that already has a schedule setup, bad things happen.
We should either cascade the delete (
delete from schedule where inject_id = ?) or block the delete until all the schedules are deleted.Personally, I'm for the second option.