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
# Cannot truncate a table referenced in a foreign key constraint | |
SET FOREIGN_KEY_CHECKS=0; | |
TRUNCATE <table>; | |
SET FOREIGN_KEY_CHECKS=1; |
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
# node_modules/pngquant-bin/vendor/pngquant` binary doesn't seem to work correctly | |
$ sudo apt-get install libpng-dev | |
$ npm install -g pngquant-bin |
NewerOlder