Skip to content

Commit

Permalink
Fixed default_migration_table settings
Browse files Browse the repository at this point in the history
  • Loading branch information
odan committed Oct 25, 2017
1 parent b99f453 commit 94849cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Migration/Command/GenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ protected function execute(InputInterface $input, OutputInterface $output)

$foreignKeys = $config->offsetExists('foreign_keys') ? $config->offsetGet('foreign_keys') : false;

$defaultMigrationTable = $config->offsetExists('default_migration_table') ? $config->offsetGet('default_migration_table') : 'phinxlog';
$defaultMigrationTable = isset($envOptions['default_migration_table']) ? $envOptions['default_migration_table'] : 'phinxlog';

$name = $input->getOption('name');
$overwrite = $input->getOption('overwrite');
Expand Down

0 comments on commit 94849cb

Please sign in to comment.