Created
September 16, 2019 04:17
-
-
Save koobitor/fa97fdc10e901898683f428c57fb02bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ``` | |
| SET FOREIGN_KEY_CHECKS = 0; | |
| TRUNCATE TABLE `catalog_category_entity`; | |
| TRUNCATE TABLE `catalog_category_entity_datetime`; | |
| TRUNCATE TABLE `catalog_category_entity_decimal`; | |
| TRUNCATE TABLE `catalog_category_entity_int`; | |
| TRUNCATE TABLE `catalog_category_entity_text`; | |
| TRUNCATE TABLE `catalog_category_entity_varchar`; | |
| TRUNCATE TABLE `catalog_category_product`; | |
| TRUNCATE TABLE `catalog_category_product_index`; | |
| TRUNCATE TABLE `catalog_category_product_index_tmp`; | |
| INSERT INTO `catalog_category_entity` (`entity_id`, `attribute_set_id`, `parent_id`, `created_at`, `updated_at`, `path`, `position`, `level`, `children_count`) VALUES (1, 0, 0, '2016-10-10 10:10:50', '2016-10-10 10:10:50', '1', 0, 0, 1); | |
| SET FOREIGN_KEY_CHECKS = 1; | |
| ``` |
Author
koobitor
commented
Sep 16, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment