src/Phinx/Console/Command/Migrate.php 1 location
|
@@ 104-110 (lines=7) @@
|
101 |
|
$output->writeln('<info>using wrapper</info> ' . $envOptions['wrapper']); |
102 |
|
} |
103 |
|
|
104 |
|
if (isset($envOptions['name'])) { |
105 |
|
$output->writeln('<info>using database</info> ' . $envOptions['name']); |
106 |
|
} else { |
107 |
|
$output->writeln('<error>Could not determine database name! Please specify a database name in your config file.</error>'); |
108 |
|
|
109 |
|
return 1; |
110 |
|
} |
111 |
|
|
112 |
|
if (isset($envOptions['table_prefix'])) { |
113 |
|
$output->writeln('<info>using table prefix</info> ' . $envOptions['table_prefix']); |
src/Phinx/Console/Command/SeedRun.php 1 location
|
@@ 99-105 (lines=7) @@
|
96 |
|
$output->writeln('<info>using wrapper</info> ' . $envOptions['wrapper']); |
97 |
|
} |
98 |
|
|
99 |
|
if (isset($envOptions['name'])) { |
100 |
|
$output->writeln('<info>using database</info> ' . $envOptions['name']); |
101 |
|
} else { |
102 |
|
$output->writeln('<error>Could not determine database name! Please specify a database name in your config file.</error>'); |
103 |
|
|
104 |
|
return 1; |
105 |
|
} |
106 |
|
|
107 |
|
if (isset($envOptions['table_prefix'])) { |
108 |
|
$output->writeln('<info>using table prefix</info> ' . $envOptions['table_prefix']); |