From 9600e0b02973ce5dd36642511d542a6b62983a5e Mon Sep 17 00:00:00 2001 From: Ken Mazaika Date: Wed, 27 Mar 2013 00:30:11 -0400 Subject: Add support for FULLTEXT and SPATIAL indexes using the :type flag for MySQL. --- activerecord/lib/active_record/schema_dumper.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activerecord/lib/active_record/schema_dumper.rb') diff --git a/activerecord/lib/active_record/schema_dumper.rb b/activerecord/lib/active_record/schema_dumper.rb index 47cbdbef1a..10c6d272cd 100644 --- a/activerecord/lib/active_record/schema_dumper.rb +++ b/activerecord/lib/active_record/schema_dumper.rb @@ -187,6 +187,8 @@ HEADER statement_parts << ('using: ' + index.using.inspect) if index.using + statement_parts << ('type: ' + index.type.inspect) if index.type + ' ' + statement_parts.join(', ') end -- cgit v1.2.3