module ActiveRecord::ConnectionAdapters::DatabaseLimits

def table_name_length

Returns the maximum length of a table name.
def table_name_length
  max_identifier_length
end