Code Duplication    Length = 5-5 lines in 2 locations

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

@@ 337-341 (lines=5) @@
334
            $writeColumns[] = $this->quoteColumnName($writeName);
335
        }
336
337
        if (!in_array($this->quoteColumnName($columnName), $selectColumns)) {
338
            throw new \InvalidArgumentException(sprintf(
339
                'The specified column doesn\'t exist: ' . $columnName
340
            ));
341
        }
342
343
        $this->execute(sprintf('ALTER TABLE %s RENAME TO %s', $tableName, $tmpTableName));
344
@@ 392-396 (lines=5) @@
389
            $writeColumns[] = $this->quoteColumnName($writeName);
390
        }
391
392
        if (!in_array($this->quoteColumnName($columnName), $selectColumns)) {
393
            throw new \InvalidArgumentException(sprintf(
394
                'The specified column doesn\'t exist: ' . $columnName
395
            ));
396
        }
397
398
        $this->execute(sprintf('ALTER TABLE %s RENAME TO %s', $tableName, $tmpTableName));
399