diff options
author | Ken Mazaika <kenmazaika@gmail.com> | 2013-03-27 00:30:11 -0400 |
---|---|---|
committer | Ken Mazaika <kenmazaika@gmail.com> | 2013-03-27 23:35:54 -0400 |
commit | 9600e0b02973ce5dd36642511d542a6b62983a5e (patch) | |
tree | 9f8317610a85ef1e74b49ac08cbc329a03be6908 /activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb | |
parent | 0739d146bcd31247391d64b852885634d78e576d (diff) | |
download | rails-9600e0b02973ce5dd36642511d542a6b62983a5e.tar.gz rails-9600e0b02973ce5dd36642511d542a6b62983a5e.tar.bz2 rails-9600e0b02973ce5dd36642511d542a6b62983a5e.zip |
Add support for FULLTEXT and SPATIAL indexes using the :type flag for MySQL.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb index 2f17e47b7c..eb974e4a6e 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb @@ -8,7 +8,7 @@ module ActiveRecord # Abstract representation of an index definition on a table. Instances of # this type are typically created and returned by methods in database # adapters. e.g. ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter#indexes - class IndexDefinition < Struct.new(:table, :name, :unique, :columns, :lengths, :orders, :where, :using) #:nodoc: + class IndexDefinition < Struct.new(:table, :name, :unique, :columns, :lengths, :orders, :where, :type, :using) #:nodoc: end # Abstract representation of a column definition. Instances of this type |