-- INSERT INTO domain__domain_option 
-- 	SELECT domain_option_id, domain_id FROM domain
-- 		JOIN unixuser on ( domain.domain_owner = unixuser.unixuser_id ) 
-- 		JOIN packet on ( unixuser.packet_id = packet.packet_id ) 
-- 		JOIN basepacket on ( packet.bp_id = basepacket.basepacket_id ), domain_option
-- 		WHERE basepacket.basepacket_code = 'PAC/DW'  
-- 			AND domain_option.domain_option_name = 'php' ;
				
-- DELETE FROM domain__domain_option 
-- 	USING domain_option, domain
-- 		JOIN unixuser on ( domain.domain_owner = unixuser.unixuser_id ) 
-- 		JOIN packet on ( unixuser.packet_id = packet.packet_id ) 
-- 		JOIN basepacket on ( packet.bp_id = basepacket.basepacket_id )
-- 		WHERE basepacket.basepacket_code != 'PAC/DW'
-- 			AND domain__domain_option.domain_option_id = domain_option.domain_option_id
-- 			AND domain_option.domain_option_name = 'php' ;

--
-- Name: packet_component_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--

