Skip to content

Commit

Permalink
Merge branch '8.x' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Sep 28, 2020
2 parents d9720c0 + f154be6 commit 90ff3f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Schema/MySqlSchemaState.php
Expand Up @@ -116,7 +116,7 @@ protected function baseVariables(array $config)
protected function executeDumpProcess(Process $process, $output, array $variables)
{
try {
$process->mustRun($output, $variables);
$process->setTimeout(null)->mustRun($output, $variables);
} catch (Exception $e) {
if (Str::contains($e->getMessage(), ['column-statistics', 'column_statistics'])) {
return $this->executeDumpProcess(Process::fromShellCommandLine(
Expand Down
2 changes: 1 addition & 1 deletion Schema/PostgresSchemaState.php
Expand Up @@ -31,7 +31,7 @@ protected function appendMigrationData(string $path)
{
with($process = $this->makeProcess(
$this->baseDumpCommand().' --table=migrations --data-only --inserts'
))->mustRun(null, array_merge($this->baseVariables($this->connection->getConfig()), [
))->setTimeout(null)->mustRun(null, array_merge($this->baseVariables($this->connection->getConfig()), [
//
]));

Expand Down
2 changes: 1 addition & 1 deletion Schema/SqliteSchemaState.php
Expand Up @@ -15,7 +15,7 @@ public function dump($path)
{
with($process = $this->makeProcess(
$this->baseCommand().' .schema'
))->mustRun(null, array_merge($this->baseVariables($this->connection->getConfig()), [
))->setTimeout(null)->mustRun(null, array_merge($this->baseVariables($this->connection->getConfig()), [
//
]));

Expand Down

0 comments on commit 90ff3f1

Please sign in to comment.