Code Duplication    Length = 5-5 lines in 2 locations

src/Phinx/Db/Adapter/SQLiteAdapter.php 2 locations

@@ 347-351 (lines=5) @@
344
            $writeColumns[] = $this->quoteColumnName($writeName);
345
        }
346
347
        if (!in_array($this->quoteColumnName($columnName), $selectColumns)) {
348
            throw new \InvalidArgumentException(sprintf(
349
                'The specified column doesn\'t exist: ' . $columnName
350
            ));
351
        }
352
353
        $this->execute(sprintf('ALTER TABLE %s RENAME TO %s', $tableName, $tmpTableName));
354
@@ 403-407 (lines=5) @@
400
            $writeColumns[] = $this->quoteColumnName($writeName);
401
        }
402
403
        if (!in_array($this->quoteColumnName($columnName), $selectColumns)) {
404
            throw new \InvalidArgumentException(sprintf(
405
                'The specified column doesn\'t exist: ' . $columnName
406
            ));
407
        }
408
409
        $this->execute(sprintf('ALTER TABLE %s RENAME TO %s', $tableName, $tmpTableName));
410