instance method
index_name_length
Ruby on Rails 7.2.3
Since v2.3.18Signature
index_name_length()
Returns the maximum length of an index name.
Source
# File activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb, line 21
def index_name_length
max_identifier_length
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb line 21
· View on GitHub
· Improve this page
· Find usages on GitHub