diff --git a/dist/database.js b/dist/database.js index c5be1be..8a7daac 100644 --- a/dist/database.js +++ b/dist/database.js @@ -108,7 +108,7 @@ const getDbDumpZipCommands = ({ database, gzipFilePath }) => // Dump and zip the db - this can make it around 9 times smaller -`mysqldump --host='${host}' --port='${port}' --user='${user}' --password='${password}' --no-tablespaces ${database} | gzip > '${gzipFilePath}'`; +`mysqldump --host='${host}' --port='${port}' --user='${user}' --password='${password}' --no-tablespaces --column-statistics=0 ${database} | gzip > '${gzipFilePath}'`; exports.getDbDumpZipCommands = getDbDumpZipCommands; diff --git a/package-lock.json b/package-lock.json index 84a1f77..6732dcf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "swiff", - "version": "1.5.3", + "version": "1.5.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 57d4724..2c87b7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "swiff", - "version": "1.5.4", + "version": "1.5.5", "description": "Swiff saves you time with common SSH tasks during the development of websites/apps", "main": "index.js", "scripts": { diff --git a/src/database.js b/src/database.js index 86428e1..deef165 100644 --- a/src/database.js +++ b/src/database.js @@ -65,7 +65,7 @@ const getDbDumpZipCommands = ({ gzipFilePath, }) => // Dump and zip the db - this can make it around 9 times smaller - `mysqldump --host='${host}' --port='${port}' --user='${user}' --password='${password}' --no-tablespaces ${database} | gzip > '${gzipFilePath}'` + `mysqldump --host='${host}' --port='${port}' --user='${user}' --password='${password}' --no-tablespaces --column-statistics=0 ${database} | gzip > '${gzipFilePath}'` const checkForDb = async ({ dbFilePath, sshConn }) => { let errorMessage