We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20d8750 commit 0bf7afcCopy full SHA for 0bf7afc
activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb
@@ -104,7 +104,7 @@ def visit_CreateIndexDefinition(o)
104
sql << "#{quote_column_name(index.name)} ON #{quote_table_name(index.table)}"
105
sql << "USING #{index.using}" if supports_index_using? && index.using
106
sql << "(#{quoted_columns(index)})"
107
- sql << "INCLUDE (#{quoted_include_columns(o.index.include)})" if supports_index_include? && o.index.include
+ sql << "INCLUDE (#{quoted_include_columns(index.include)})" if supports_index_include? && index.include
108
sql << "WHERE #{index.where}" if supports_partial_index? && index.where
109
110
sql.join(" ")
0 commit comments