add(connection, table_name)
public
Add internal cache for table with
table_name.
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 325
def add(connection, table_name)
if data_source_exists?(connection, table_name)
primary_keys(connection, table_name)
columns(connection, table_name)
columns_hash(connection, table_name)
indexes(connection, table_name)
end
end