method

allowed_index_name_length

rails latest stable - Class: ActiveRecord::ConnectionAdapters::DatabaseLimits

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

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.