Code Duplication    Length = 11-11 lines in 2 locations

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

@@ 300-310 (lines=11) @@
297
    /**
298
     * {@inheritdoc}
299
     */
300
    public function addColumn(Table $table, Column $column)
301
    {
302
        $sql = sprintf(
303
            'ALTER TABLE %s ADD COLUMN %s %s',
304
            $this->quoteTableName($table->getName()),
305
            $this->quoteColumnName($column->getName()),
306
            $this->getColumnSqlDefinition($column)
307
        );
308
309
        $this->execute($sql);
310
    }
311
312
    /**
313
     * {@inheritdoc}

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

@@ 429-439 (lines=11) @@
426
    /**
427
     * {@inheritdoc}
428
     */
429
    public function addColumn(Table $table, Column $column)
430
    {
431
        $sql = sprintf(
432
            'ALTER TABLE %s ADD %s %s',
433
            $this->quoteTableName($table->getName()),
434
            $this->quoteColumnName($column->getName()),
435
            $this->getColumnSqlDefinition($column)
436
        );
437
438
        $this->execute($sql);
439
    }
440
441
    /**
442
     * {@inheritdoc}