aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2016-02-03 19:13:08 -0700
committerSean Griffin <sean@seantheprogrammer.com>2016-02-03 19:13:08 -0700
commit56719517a18cb43574083a9fe33f4e26baf21f0d (patch)
tree029eeb61590d75809bad27c4ece2e10982cca3d6 /activerecord
parent9df30839267c327ee4cad9808bfb7c694c20abac (diff)
parent8b8ee6539cb4d4b5389db084014aa8da4fa997a7 (diff)
downloadrails-56719517a18cb43574083a9fe33f4e26baf21f0d.tar.gz
rails-56719517a18cb43574083a9fe33f4e26baf21f0d.tar.bz2
rails-56719517a18cb43574083a9fe33f4e26baf21f0d.zip
Merge pull request #23460 from kamipo/innodb_supports_fulltext_and_spatial_indexes
InnoDB supports FULLTEXT and Spatial Indexes [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
index 3eb0fdefa7..983c4340c6 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
@@ -698,7 +698,7 @@ module ActiveRecord
#
# CREATE FULLTEXT INDEX index_developers_on_name ON developers (name) -- MySQL
#
- # Note: only supported by MySQL. Supported: <tt>:fulltext</tt> and <tt>:spatial</tt> on MyISAM tables.
+ # Note: only supported by MySQL.
def add_index(table_name, column_name, options = {})
index_name, index_type, index_columns, index_options = add_index_options(table_name, column_name, options)
execute "CREATE #{index_type} INDEX #{quote_column_name(index_name)} ON #{quote_table_name(table_name)} (#{index_columns})#{index_options}"