# Table : of_shipping_rule_parent
CREATE TABLE IF NOT EXISTS `_DB_PREFIX_of_shipping_rule_parent` (
    `id_of_shipping_rule` INT(10) UNSIGNED NOT NULL,
    `id_of_shipping_rule_parent` INT(10) UNSIGNED NOT NULL,
    PRIMARY KEY (`id_of_shipping_rule`,`id_of_shipping_rule_parent`)
) ENGINE=_MYSQL_ENGINE_ DEFAULT CHARSET=UTF8;

# Table : of_shipping_rule
ALTER TABLE `_DB_PREFIX_of_shipping_rule` ADD COLUMN `parent_shipping_rule_restriction` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0';