diff --git a/install/thelia.sql b/install/thelia.sql index 501d6f358..308e52b75 100755 --- a/install/thelia.sql +++ b/install/thelia.sql @@ -1028,49 +1028,6 @@ CREATE TABLE `message` PRIMARY KEY (`id`) ) ENGINE=InnoDB; --- --------------------------------------------------------------------- --- rewriting --- --------------------------------------------------------------------- - -DROP TABLE IF EXISTS `rewriting`; - -CREATE TABLE `rewriting` -( - `id` INTEGER NOT NULL, - `url` VARCHAR(255) NOT NULL, - `product_id` INTEGER, - `category_id` INTEGER, - `folder_id` INTEGER, - `content_id` INTEGER, - `created_at` DATETIME, - `updated_at` DATETIME, - PRIMARY KEY (`id`), - INDEX `idx_rewriting_product_id` (`product_id`), - INDEX `idx_rewriting_category_id` (`category_id`), - INDEX `idx_rewriting_folder_id` (`folder_id`), - INDEX `idx_rewriting_content_id` (`content_id`), - CONSTRAINT `fk_rewriting_product_id` - FOREIGN KEY (`product_id`) - REFERENCES `product` (`id`) - ON UPDATE RESTRICT - ON DELETE CASCADE, - CONSTRAINT `fk_rewriting_category_id` - FOREIGN KEY (`category_id`) - REFERENCES `category` (`id`) - ON UPDATE RESTRICT - ON DELETE CASCADE, - CONSTRAINT `fk_rewriting_folder_id` - FOREIGN KEY (`folder_id`) - REFERENCES `folder` (`id`) - ON UPDATE RESTRICT - ON DELETE CASCADE, - CONSTRAINT `fk_rewriting_content_id` - FOREIGN KEY (`content_id`) - REFERENCES `content` (`id`) - ON UPDATE RESTRICT - ON DELETE CASCADE -) ENGINE=InnoDB; - -- --------------------------------------------------------------------- -- coupon -- ---------------------------------------------------------------------