paultag / moxie

moxie
MIT License
28 stars 7 forks source link

Allow object deletion without `psql` #80

Open mileswwatkins opened 9 years ago

mileswwatkins commented 9 years ago

Even if a Job or Maintainer disappears from a YAML, it won't be deleted. Which is fine, but it might be nice to have a deletion process (maybe moxie-delete) that's somewhat analogous to moxie-load.

paultag commented 9 years ago

My only concern is that the delete operation will break anything with a FK constraint - but open to ways to do this!

mileswwatkins commented 9 years ago

For sure, something to ponder if we do implement this. Could just exclude jobs with FK ties, in the same way that we don't let triggered jobs enter the DB except if their trigger's already there.