Code Duplication    Length = 11-11 lines in 3 locations

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

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

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}