Code Duplication    Length = 3-3 lines in 2 locations

src/Phinx/Db/Adapter/MysqlAdapter.php 1 location

@@ 255-257 (lines=3) @@
252
253
        $sql = 'CREATE TABLE ';
254
        $sql .= $this->quoteTableName($table->getName()) . ' (';
255
        foreach ($columns as $column) {
256
            $sql .= $this->quoteColumnName($column->getName()) . ' ' . $this->getColumnSqlDefinition($column) . ', ';
257
        }
258
259
        // set the primary key(s)
260
        if (isset($options['primary_key'])) {

src/Phinx/Db/Adapter/SQLiteAdapter.php 1 location

@@ 189-191 (lines=3) @@
186
187
        $sql = 'CREATE TABLE ';
188
        $sql .= $this->quoteTableName($table->getName()) . ' (';
189
        foreach ($columns as $column) {
190
            $sql .= $this->quoteColumnName($column->getName()) . ' ' . $this->getColumnSqlDefinition($column) . ', ';
191
        }
192
193
        // set the primary key(s)
194
        if (isset($options['primary_key'])) {