diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-02-04 07:30:05 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-02-04 07:30:05 +0900 |
commit | 8b8ee6539cb4d4b5389db084014aa8da4fa997a7 (patch) | |
tree | 20589ebff3d986360ada4348f9e4f02eba609de9 /activerecord/lib/active_record/connection_adapters | |
parent | 13b918d1e9ebe2c609b5479550a35f3665c2acd2 (diff) | |
download | rails-8b8ee6539cb4d4b5389db084014aa8da4fa997a7.tar.gz rails-8b8ee6539cb4d4b5389db084014aa8da4fa997a7.tar.bz2 rails-8b8ee6539cb4d4b5389db084014aa8da4fa997a7.zip |
InnoDB supports FULLTEXT and Spatial Indexes [ci skip]
https://dev.mysql.com/doc/refman/5.7/en/innodb-fulltext-index.html
https://dev.mysql.com/doc/refman/5.7/en/creating-spatial-indexes.html
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 2 |
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 cc245587c1..65087f35a8 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -700,7 +700,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}" |