     END$$
 DELIMITER ;
 
+# PortForwardingRuleVO
+DROP TRIGGER IF EXISTS trigger_clean_AccountResourceRefVO_for_PortForwardingRuleVO;
+DELIMITER $$
+CREATE TRIGGER trigger_clean_AccountResourceRefVO_for_PortForwardingRuleVO AFTER DELETE ON `PortForwardingRuleVO`
+FOR EACH ROW
+    BEGIN
+        DELETE FROM `AccountResourceRefVO` WHERE `resourceUuid` = OLD.`uuid` AND `resourceType` = 'PortForwardingRuleVO';
+    END$$
+DELIMITER ;
+
 # QuotaVO
 DROP TRIGGER IF EXISTS trigger_clean_AccountResourceRefVO_for_QuotaVO;
 DELIMITER $$

    END$$
DELIMITER ;

# L2NetworkEO
DROP TRIGGER IF EXISTS trigger_clean_AccountResourceRefVO_for_L2NetworkEO;
DELIMITER $$
CREATE TRIGGER trigger_clean_AccountResourceRefVO_for_L2NetworkEO AFTER UPDATE ON `L2NetworkEO`
FOR EACH ROW
    BEGIN
        IF OLD.`deleted` IS NULL AND NEW.`deleted` IS NOT NULL THEN
            DELETE FROM `AccountResourceRefVO` WHERE `resourceUuid` = OLD.`uuid` AND `resourceType` = 'L2NetworkVO';
        END IF;
    END$$
DELIMITER ;

# L3NetworkEO
DROP TRIGGER IF EXISTS trigger_clean_AccountResourceRefVO_for_L3NetworkEO;
DELIMITER $$

    END$$
DELIMITER ;

# LoadBalancerListenerVO
DROP TRIGGER IF EXISTS trigger_clean_AccountResourceRefVO_for_LoadBalancerListenerVO;
DELIMITER $$
CREATE TRIGGER trigger_clean_AccountResourceRefVO_for_LoadBalancerListenerVO AFTER DELETE ON `LoadBalancerListenerVO`
FOR EACH ROW
    BEGIN
        DELETE FROM `AccountResourceRefVO` WHERE `resourceUuid` = OLD.`uuid` AND `resourceType` = 'LoadBalancerListenerVO';
    END$$
DELIMITER ;

# LoadBalancerVO
DROP TRIGGER IF EXISTS trigger_clean_AccountResourceRefVO_for_LoadBalancerVO;
DELIMITER $$
CREATE TRIGGER trigger_clean_AccountResourceRefVO_for_LoadBalancerVO AFTER DELETE ON `LoadBalancerVO`
FOR EACH ROW
    BEGIN
        DELETE FROM `AccountResourceRefVO` WHERE `resourceUuid` = OLD.`uuid` AND `resourceType` = 'LoadBalancerVO';
    END$$
DELIMITER ;

# PolicyVO
DROP TRIGGER IF EXISTS trigger_clean_AccountResourceRefVO_for_PolicyVO;
DELIMITER $$
