--If you change DB Engine to InnoDB, you'll find these useful.

ALTER TABLE torrent_download_completed ADD FOREIGN KEY ( user ) REFERENCES torrent_users( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_download_completed ADD FOREIGN KEY(torrent) REFERENCES torrent_torrents(id) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_files ADD FOREIGN KEY (torrent) REFERENCES torrent_torrents( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_comments ADD FOREIGN KEY (torrent) REFERENCES torrent_torrents( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_comments ADD FOREIGN KEY (user) REFERENCES torrent_users( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_comments_notify ADD FOREIGN KEY (user) REFERENCES torrent_users( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_comments_notify ADD FOREIGN KEY (torrent) REFERENCES torrent_torrents( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_complaints ADD FOREIGN KEY (torrent) REFERENCES torrent_torrents( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_complaints ADD FOREIGN KEY (user) REFERENCES torrent_users( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_download ADD FOREIGN KEY (torrent) REFERENCES torrent_torrents( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_download_completed ADD FOREIGN KEY (torrent) REFERENCES torrent_torrents( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_download_completed ADD FOREIGN KEY (user) REFERENCES torrent_users( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_peers ADD FOREIGN KEY (torrent) REFERENCES torrent_torrents( id) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_privacy_backup ADD FOREIGN KEY (torrent) REFERENCES torrent_torrents( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_privacy_backup ADD FOREIGN KEY (master) REFERENCES torrent_users( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_privacy_backup ADD FOREIGN KEY (slave) REFERENCES torrent_users( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_privacy_file ADD FOREIGN KEY (torrent) REFERENCES torrent_torrents( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_privacy_file ADD FOREIGN KEY (master) REFERENCES torrent_users( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_privacy_file ADD FOREIGN KEY (slave) REFERENCES torrent_users( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_privacy_global ADD FOREIGN KEY (master) REFERENCES torrent_users( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_privacy_global ADD FOREIGN KEY (slave) REFERENCES torrent_users( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_ratings ADD FOREIGN KEY (user) REFERENCES torrent_users( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_ratings ADD FOREIGN KEY (torrent) REFERENCES torrent_torrents( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_seeder_notify ADD FOREIGN KEY (user) REFERENCES torrent_users( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_seeder_notify ADD FOREIGN KEY (torrent) REFERENCES torrent_torrents( id ) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE torrent_shouts ADD FOREIGN KEY (user) REFERENCES torrent_users( id ) ON DELETE CASCADE ON UPDATE CASCADE;