jpzwarte-activerecord-jdbc-adapter 0.9.2.5 → 0.9.2.6
Sign up to get free protection for your applications and to get access to all the features.
Binary file
|
@@ -7,7 +7,7 @@ module TSqlMethods
|
|
7
7
|
tp[:boolean] = {:name => "bit"}
|
8
8
|
tp[:binary] = { :name => "image"}
|
9
9
|
tp[:string][:name] = "NVARCHAR"
|
10
|
-
tp[:string][:limit] = [tp[:string][:limit], 4000].
|
10
|
+
tp[:string][:limit] = [tp[:string][:limit], 4000].min
|
11
11
|
tp[:text] = { :name => "NVARCHAR(MAX)" }
|
12
12
|
tp
|
13
13
|
end
|
data/lib/jdbc_adapter/version.rb
CHANGED