Skip migrations table because it was already done when creating the schema
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
1d56b52761
commit
42ed7a18cc
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue