$changesets
$changesets : array
The changesets for which changes should be applied.
This command actually applies the available changes to your database. You can optionally limit the command to a single changeset. After applying each change, it will be logged to the changelog in the database. If any script fails, execution will be halted immediately.
$changelogGateway : \Dewdrop\Db\Dbdeploy\ChangelogGateway
The gateway that will be used to write changes to the database.
$cliExec : \Dewdrop\Db\Dbdeploy\CliExec
An object used to run SQL scripts on the command-line.
__construct(\Dewdrop\Db\Dbdeploy\ChangelogGateway $changelogGateway, array $changesets, \Dewdrop\Db\Dbdeploy\CliExec $cliExec, null $changeset = null)
The $changelogGateway and $cliExec params allow the command to interact with the database. The $changeset param is optional. If specified, it will limit the applied changes to a single named changeset.
\Dewdrop\Db\Dbdeploy\ChangelogGateway | $changelogGateway | |
array | $changesets | |
\Dewdrop\Db\Dbdeploy\CliExec | $cliExec | |
null | $changeset |