BUG: When a pipeline is deleted, its schedule data is not being deleted with it, and it causing a validation error if you add a new pipeline with the same name and script name as the one that was deleted.
To reproduce:
Create a new pipeline and go through all steps to save schedule (do not modify the autogenerated script name).
Once back at the pipeline list page, delete the pipeline you just created.
Add a new pipeline and give it the exact same name as the one you just deleted (do not modify the autogenerated script name).
Go through all steps to save a schedule for the new pipeline. The error occurs once you click the "Save Schedule" button.
BUG: When a pipeline is deleted, its schedule data is not being deleted with it, and it causing a validation error if you add a new pipeline with the same name and script name as the one that was deleted.
To reproduce: