Add ON DELETE CASCADE to references for `weight_id` and `edge_id`.
Add ON DELETE CASCADE to references for `weight_id` and `edge_id`.

When removing weights and edges, there is no more need for their
related `element_weight` or `relation` records--it's safe to clean
them up automatically.

shawnbrown/gpn,shawnbrown/gpn