Code Duplication    Length = 11-11 lines in 2 locations

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

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

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

@@ 313-323 (lines=11) @@
310
    /**
311
     * {@inheritdoc}
312
     */
313
    public function addColumn(Table $table, Column $column)
314
    {
315
        $sql = sprintf(
316
            'ALTER TABLE %s ADD COLUMN %s %s',
317
            $this->quoteTableName($table->getName()),
318
            $this->quoteColumnName($column->getName()),
319
            $this->getColumnSqlDefinition($column)
320
        );
321
322
        $this->execute($sql);
323
    }
324
325
    /**
326
     * {@inheritdoc}