src/Phinx/Console/Command/SeedRun.php 1 location
|
@@ 92-97 (lines=6) @@
|
| 89 |
|
$output->writeln('<info>using wrapper</info> ' . $envOptions['wrapper']); |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
if (isset($envOptions['name'])) { |
| 93 |
|
$output->writeln('<info>using database</info> ' . $envOptions['name']); |
| 94 |
|
} else { |
| 95 |
|
$output->writeln('<error>Could not determine database name! Please specify a database name in your config file.</error>'); |
| 96 |
|
|
| 97 |
|
return; |
| 98 |
|
} |
| 99 |
|
|
| 100 |
|
if (isset($envOptions['table_prefix'])) { |
src/Phinx/Console/Command/Migrate.php 1 location
|
@@ 97-102 (lines=6) @@
|
| 94 |
|
$output->writeln('<info>using wrapper</info> ' . $envOptions['wrapper']); |
| 95 |
|
} |
| 96 |
|
|
| 97 |
|
if (isset($envOptions['name'])) { |
| 98 |
|
$output->writeln('<info>using database</info> ' . $envOptions['name']); |
| 99 |
|
} else { |
| 100 |
|
$output->writeln('<error>Could not determine database name! Please specify a database name in your config file.</error>'); |
| 101 |
|
|
| 102 |
|
return 1; |
| 103 |
|
} |
| 104 |
|
|
| 105 |
|
if (isset($envOptions['table_prefix'])) { |