diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-03-30 13:57:54 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-03-30 14:04:05 -0300 |
commit | 5ad8660135ef015eb093d4fbd2fd841dbb3d4cb9 (patch) | |
tree | e6fc54ed663c50adef33a799186819aae40e50aa /activerecord | |
parent | d9ac2afc8fc49c2d8b0cf2ddbea374ffbb48c0f4 (diff) | |
download | rails-5ad8660135ef015eb093d4fbd2fd841dbb3d4cb9.tar.gz rails-5ad8660135ef015eb093d4fbd2fd841dbb3d4cb9.tar.bz2 rails-5ad8660135ef015eb093d4fbd2fd841dbb3d4cb9.zip |
Fix code examples indent in new index options docs [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 6 |
1 files changed, 3 insertions, 3 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 c03081d7fd..ff60fac6e8 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -499,12 +499,12 @@ module ActiveRecord # # ====== 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 # |