From a89e9f70b24fe9c6b4f7b9343f4dc143928f2bdb Mon Sep 17 00:00:00 2001 From: Ken Mazaika Date: Wed, 27 Mar 2013 22:38:53 -0400 Subject: Dump the 'using' options for a SQL index into the schema. --- activerecord/lib/active_record/schema_dumper.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activerecord/lib/active_record') diff --git a/activerecord/lib/active_record/schema_dumper.rb b/activerecord/lib/active_record/schema_dumper.rb index fa9de926c5..47cbdbef1a 100644 --- a/activerecord/lib/active_record/schema_dumper.rb +++ b/activerecord/lib/active_record/schema_dumper.rb @@ -185,6 +185,8 @@ HEADER statement_parts << ('where: ' + index.where.inspect) if index.where + statement_parts << ('using: ' + index.using.inspect) if index.using + ' ' + statement_parts.join(', ') end -- cgit v1.2.3