method
allowed_index_name_length
v4.1.8 -
Show 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.