candlepin/candlepin — pull request #393 by jmrodri (2013-09-25 19:35:51+00:00)
Title: 1006374: add delete cascade to cp_pool_*

adding in delete cascades on the pool_id foreign keys will allow
deletion of pools and have their provided/derived products go away.

In the event we end up with duplicate entries again in cp_pool_products
this change will prevent the constraint violation when deleting
the pool.

For more information reference: https://github.com/candlepin/candlepin/pull/382