Sha256: e848b8b313807c3a2405e5257abae04cecdde9f048d3560059a4e64c1d6fcf2a
Contents?: true
Size: 477 Bytes
Versions: 23
Compression:
Stored size: 477 Bytes
Contents
module ActiveRecord module ConnectionAdapters module SQLServer module Type class UnicodeVarchar < UnicodeChar def initialize(*args) super @limit = 4000 if @limit.to_i == 0 end def type :string end def sqlserver_type 'nvarchar'.tap do |type| type << "(#{limit})" if limit end end end end end end end
Version data entries
23 entries across 23 versions & 2 rubygems