Skip to content

Commit

Permalink
Merge pull request #1173 from miranovy/fix-default_migration_table
Browse files Browse the repository at this point in the history
fixing configuration item default_migration_table
  • Loading branch information
JayPHP authored Sep 8, 2017
2 parents 1c9dae4 + ba51255 commit 69426c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Phinx/Db/Adapter/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function setOptions(array $options)
$this->options = $options;

if (isset($options['default_migration_table'])) {
$this->setSchemaTableName($options['default_migration_table']);
$this->setSchemaTableName($options['default_migration_table']);
}

return $this;
Expand Down
2 changes: 1 addition & 1 deletion src/Phinx/Db/Adapter/PdoAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ abstract class PdoAdapter extends AbstractAdapter
*/
public function setOptions(array $options)
{
$this->options = $options;
parent::setOptions($options);

if (isset($options['connection'])) {
$this->setConnection($options['connection']);
Expand Down

0 comments on commit 69426c7

Please sign in to comment.