Skip to content
Browse files

Fix code examples indent in new index options docs [ci skip]

  • Loading branch information...
1 parent d9ac2af commit 5ad8660135ef015eb093d4fbd2fd841dbb3d4cb9 @carlosantoniodasilva carlosantoniodasilva committed Mar 30, 2013
View
6 activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
@@ -499,12 +499,12 @@ def rename_column(table_name, column_name, new_column_name)
#
# ====== Creating an index with a specific method
#
- # add_index(:developers, :name, using: 'btree')
+ # add_index(:developers, :name, using: 'btree')
#
# generates
#
- # CREATE INDEX index_developers_on_name ON developers USING btree (name) -- PostgreSQL
- # CREATE INDEX index_developers_on_name USING btree ON developers (name) -- MySQL
+ # CREATE INDEX index_developers_on_name ON developers USING btree (name) -- PostgreSQL
+ # CREATE INDEX index_developers_on_name USING btree ON developers (name) -- MySQL
#
# Note: only supported by PostgreSQL and MySQL
#

0 comments on commit 5ad8660

Please sign in to comment.
Something went wrong with that request. Please try again.