Code Duplication    Length = 5-5 lines in 2 locations

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

@@ 244-248 (lines=5) @@
241
        $sql .= ');';
242
243
        // process column comments
244
        if (!empty($this->columnsWithComments)) {
245
            foreach ($this->columnsWithComments as $column) {
246
                $sql .= $this->getColumnCommentSqlDefinition($column, $table->getName());
247
            }
248
        }
249
250
        // set the indexes
251
        if (!empty($indexes)) {

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

@@ 97-101 (lines=5) @@
94
		$sql .= ';';
95
		
96
		// process column comments
97
		if ( !empty( $this->columnsWithComments ) ) {
98
			foreach ( $this->columnsWithComments as $column ) {
99
				$sql .= $this->getColumnCommentSqlDefinition( $column, $table->getName() );
100
			}
101
		}
102
		
103
		// set the indexes
104
		if ( !empty( $indexes ) ) {