Browse Source
Skip migrations table because it was already done when creating the schema
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/5772/head
Joas Schilling
8 years ago
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with
6 additions and
0 deletions
-
core/Command/Db/ConvertType.php
|
|
|
@ -277,6 +277,12 @@ class ConvertType extends Command implements CompletionAwareInterface { |
|
|
|
* @suppress SqlInjectionChecker |
|
|
|
*/ |
|
|
|
protected function copyTable(Connection $fromDB, Connection $toDB, $table, InputInterface $input, OutputInterface $output) { |
|
|
|
if ($table === $toDB->getPrefix() . 'migrations') { |
|
|
|
$output->writeln('<comment>Skipping migrations table because it was already filled by running the migrations</comment>'); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$chunkSize = $input->getOption('chunk-size'); |
|
|
|
|
|
|
|
$query = $fromDB->getQueryBuilder(); |
|
|
|
|