Code Duplication    Length = 11-11 lines in 3 locations

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

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

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

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

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

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