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
@@ 402-406 (lines=5) @@
399
            $writeColumns[] = $this->quoteColumnName($writeName);
400
        }
401
402
        if (!in_array($this->quoteColumnName($columnName), $selectColumns)) {
403
            throw new \InvalidArgumentException(sprintf(
404
                'The specified column doesn\'t exist: ' . $columnName
405
            ));
406
        }
407
408
        $this->execute(sprintf('ALTER TABLE %s RENAME TO %s', $tableName, $tmpTableName));
409