Skip to content

Commit e9d9b93

Browse files
authored
change placeholder of load method (#34303)
1 parent 75b796d commit e9d9b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Schema/MySqlSchemaState.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ protected function appendMigrationData(string $path)
6767
*/
6868
public function load($path)
6969
{
70-
$process = $this->makeProcess('mysql --host=$LARAVEL_LOAD_HOST --port=$LARAVEL_LOAD_PORT --user=$LARAVEL_LOAD_USER --password=$LARAVEL_LOAD_PASSWORD --database=$LARAVEL_LOAD_DATABASE < $LARAVEL_LOAD_PATH');
70+
$process = $this->makeProcess('mysql --host="${:LARAVEL_LOAD_HOST}" --port="${:LARAVEL_LOAD_PORT}" --user="${:LARAVEL_LOAD_USER}" --password="${:LARAVEL_LOAD_PASSWORD}" --database="${:LARAVEL_LOAD_DATABASE}" < "${:LARAVEL_LOAD_PATH}"');
7171

7272
$process->mustRun(null, array_merge($this->baseVariables($this->connection->getConfig()), [
7373
'LARAVEL_LOAD_PATH' => $path,

0 commit comments

Comments
 (0)