Code Duplication    Length = 5-5 lines in 2 locations

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

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