Skip to content
This repository was archived by the owner on Jan 22, 2018. It is now read-only.

Commit bf13d57

Browse files
authored
Merge pull request #18 from OpenBuildings/fix-double-spaces-in-dump
Fix unnecessary double space after each 'create table' in schema.sql
2 parents bb89537 + 73e5f67 commit bf13d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/Task/Db/Structure/Dump.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ protected function _execute(array $options)
2727

2828
$file = $options['file'] ? $options['file'] : Kohana::$config->load("migrations.path").DIRECTORY_SEPARATOR.'schema.sql';
2929

30-
$command = strtr("mysqldump -u:username :password -h :hostname --skip-comments --add-drop-database --add-drop-table --no-data :database | sed 's/AUTO_INCREMENT=[0-9]*\b//' > :file ", array(
30+
$command = strtr("mysqldump -u:username :password -h :hostname --skip-comments --add-drop-database --add-drop-table --no-data :database | sed 's/ AUTO_INCREMENT=[0-9]*\b//' > :file ", array(
3131
':username' => $db['username'],
3232
':password' => $db['password'] ? '-p'.$db['password'] : '',
3333
':database' => $db['database'],

0 commit comments

Comments
 (0)