This file contains 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
/* If you are using table_prefix in your DB | |
* do not forget to add them in the table names below prior to executing this code | |
*/ | |
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; |
This file contains 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; |
This file contains 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; |
This file contains 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
// Global Scope | |
var a = 1; | |
var b = 2; | |
var c = 3; | |
// Testing Block Scope | |
if(true) { | |
// Block scope | |
var a = 4; | |
let b = 5; |