Code Duplication    Length = 11-11 lines in 3 locations

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

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

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

@@ 436-446 (lines=11) @@
433
    /**
434
     * {@inheritdoc}
435
     */
436
    public function addColumn(Table $table, Column $column)
437
    {
438
        $sql = sprintf(
439
            'ALTER TABLE %s ADD %s %s',
440
            $this->quoteTableName($table->getName()),
441
            $this->quoteColumnName($column->getName()),
442
            $this->getColumnSqlDefinition($column)
443
        );
444
445
        $this->execute($sql);
446
    }
447
448
    /**
449
     * {@inheritdoc}

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

@@ 369-379 (lines=11) @@
366
    /**
367
     * {@inheritdoc}
368
     */
369
    public function addColumn(Table $table, Column $column)
370
    {
371
        $sql = sprintf(
372
            'ALTER TABLE %s ADD %s %s',
373
            $this->quoteTableName($table->getName()),
374
            $this->quoteColumnName($column->getName()),
375
            $this->getColumnSqlDefinition($column)
376
        );
377
378
        $this->execute($sql);
379
    }
380
381
    /**
382
     * {@inheritdoc}