method
extract_limit
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: ActiveRecord::ConnectionAdapters::PostgreSQLColumn
extract_limit(sql_type)
private
Hide source
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 169 def extract_limit(sql_type) case sql_type when /^bigint/; 8 when /^smallint/; 2 when /^timestamp/; nil else super end end