If $outputPathAndFilename is given, the SQL statements will be written to the given file instead of executed.
public executeMigrations ( string $version = null, string $outputPathAndFilename = null, boolean $dryRun = false, boolean $quiet = false ) : string | ||
$version | string | The version to migrate to |
$outputPathAndFilename | string | A file to write SQL to, instead of executing it |
$dryRun | boolean | Whether to do a dry run or not |
$quiet | boolean | Whether to do a quiet run or not |
리턴 | string |