dep: package update
This commit is contained in:
@@ -24,6 +24,16 @@ class ForeignKeyDefinition extends Fluent
|
||||
return $this->onUpdate('cascade');
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicate that updates should be restricted.
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function restrictOnUpdate()
|
||||
{
|
||||
return $this->onUpdate('restrict');
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicate that deletes should cascade.
|
||||
*
|
||||
|
||||
@@ -198,6 +198,7 @@ class ChangeColumn
|
||||
'binary',
|
||||
'boolean',
|
||||
'date',
|
||||
'dateTime',
|
||||
'decimal',
|
||||
'double',
|
||||
'float',
|
||||
|
||||
+1
-1
@@ -85,7 +85,7 @@ class MySqlSchemaState extends SchemaState
|
||||
*/
|
||||
protected function baseDumpCommand()
|
||||
{
|
||||
$command = 'mysqldump '.$this->connectionString().' --skip-add-locks --skip-comments --skip-set-charset --tz-utc';
|
||||
$command = 'mysqldump '.$this->connectionString().' --no-tablespaces --skip-add-locks --skip-comments --skip-set-charset --tz-utc';
|
||||
|
||||
if (! $this->connection->isMaria()) {
|
||||
$command .= ' --column-statistics=0 --set-gtid-purged=OFF';
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@ abstract class SchemaState
|
||||
$this->files = $files ?: new Filesystem;
|
||||
|
||||
$this->processFactory = $processFactory ?: function (...$arguments) {
|
||||
return Process::fromShellCommandline(...$arguments);
|
||||
return Process::fromShellCommandline(...$arguments)->setTimeout(null);
|
||||
};
|
||||
|
||||
$this->handleOutputUsing(function () {
|
||||
|
||||
Reference in New Issue
Block a user