ALTER TABLE genbank.contig_accession ADD FOREIGN KEY (id) REFERENCES genbank.contig(id) ON DELETE CASCADE;
ALTER TABLE genbank.contig_comment ADD FOREIGN KEY (id) REFERENCES genbank.contig(id) ON DELETE CASCADE;
ALTER TABLE genbank.contig_definition ADD FOREIGN KEY (id) REFERENCES genbank.contig(id) ON DELETE CASCADE;
ALTER TABLE genbank.contig_names ADD FOREIGN KEY (id) REFERENCES genbank.contig(id) ON DELETE CASCADE;
ALTER TABLE genbank.contig_version ADD FOREIGN KEY (id) REFERENCES genbank.contig(id) ON DELETE CASCADE;
ALTER TABLE genbank.contig_xrefs ADD FOREIGN KEY (id) REFERENCES genbank.contig(id) ON DELETE CASCADE;
