method
allowed_index_name_length
rails latest stable - Class:
ActiveRecord::ConnectionAdapters::DatabaseLimits
allowed_index_name_length()public
Returns the maximum allowed length for an index name. This limit is enforced by Rails and is less than or equal to #index_name_length. The gap between #index_name_length is to allow internal Rails operations to use prefixes in temporary operations.