ALTER TABLE particles ADD CONSTRAINT particles_network_id_fkey FOREIGN KEY (network_id) REFERENCES networks(id) ON DELETE CASCADE;