Fix failing test from [7619bcf2
]
This commit is contained in:
parent
7619bcf2d4
commit
b04bce28ff
|
@ -33,7 +33,7 @@ module Rails
|
|||
when /(string|text|binary|integer)\{(\d+)\}/
|
||||
return $1, :limit => $2.to_i
|
||||
when /decimal\{(\d+)[,.-](\d+)\}/
|
||||
return :decimal, :precision => $1.to_i, :scale => $3.to_i
|
||||
return :decimal, :precision => $1.to_i, :scale => $2.to_i
|
||||
else
|
||||
return type, {}
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue