aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorEugene Kenny <elkenny@gmail.com>2018-01-26 00:33:01 +0000
committerEugene Kenny <elkenny@gmail.com>2018-01-26 00:33:01 +0000
commit92b0c49cb95656fdcdf49acca9ccb0e06378a8f4 (patch)
tree8679030588e2b3574d1d85d6c64bc1c2bf52d7e0 /activerecord
parentc9936eecdb9265eb4ec7ed3b7fa3ae13ac6bc8fe (diff)
downloadrails-92b0c49cb95656fdcdf49acca9ccb0e06378a8f4.tar.gz
rails-92b0c49cb95656fdcdf49acca9ccb0e06378a8f4.tar.bz2
rails-92b0c49cb95656fdcdf49acca9ccb0e06378a8f4.zip
Update note on MySQL index order support [ci skip]
MySQL supports descending indexes from 8.0.1 onwards: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb2
1 files changed, 1 insertions, 1 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 c32a234be4..db033db913 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
@@ -715,7 +715,7 @@ module ActiveRecord
#
# CREATE INDEX by_branch_desc_party ON accounts(branch_id DESC, party_id ASC, surname)
#
- # Note: MySQL doesn't yet support index order (it accepts the syntax but ignores it).
+ # Note: MySQL only supports index order from 8.0.1 onwards (earlier versions accepted the syntax but ignored it).
#
# ====== Creating a partial index
#