Created
January 10, 2017 09:07
-
-
Save timneutkens/2e0abea19805ed96ed3989aed6faf060 to your computer and use it in GitHub Desktop.
Truncate media library Magento 2
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 catalog_product_entity_media_gallery; | |
SET FOREIGN_KEY_CHECKS = 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment