Sha256: 3954ef53033e7563d6115fd1d3ae2dda3d853b975440c964c3a529c5c8c833c4
Contents?: true
Size: 784 Bytes
Versions: 8
Compression:
Stored size: 784 Bytes
Contents
module ActiveRecord module ConnectionAdapters module MSSQL module ColumnDumper # :nodoc: MSSQL_NO_LIMIT_TYPES = [ 'text', 'ntext', 'varchar(max)', 'nvarchar(max)', 'varbinary(max)' ].freeze private def schema_limit(column) return if MSSQL_NO_LIMIT_TYPES.include?(column.sql_type) super end def explicit_primary_key_default?(column) !column.identity? end def default_primary_key?(column) super && column.identity? end # def schema_collation(column) # return unless column.collation # column.collation if column.collation != collation # end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems