Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 976-978 (lines=3) @@
973
                $def .= '(' . ($column->getLimit() ?: $sqlType['limit']) . ')';
974
            }
975
        }
976
        if ($column->getPrecision() && $column->getScale()) {
977
            $def .= '(' . $column->getPrecision() . ',' . $column->getScale() . ')';
978
        }
979
        if (($values = $column->getValues()) && is_array($values)) {
980
            $def .= " CHECK({$column->getName()} IN ('" . implode("', '", $values) . "'))";
981
        }

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

@@ 1013-1015 (lines=3) @@
1010
                $buffer[] = sprintf('(%s)', $column->getLimit() ? $column->getLimit() : $sqlType['limit']);
1011
            }
1012
        }
1013
        if ($column->getPrecision() && $column->getScale()) {
1014
            $buffer[] = '(' . $column->getPrecision() . ',' . $column->getScale() . ')';
1015
        }
1016
        $properties = $column->getProperties();
1017
        $buffer[] = $column->getType() === 'filestream' ? 'FILESTREAM' : '';
1018
        $buffer[] = isset($properties['rowguidcol']) ? 'ROWGUIDCOL' : '';