diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-26 10:01:50 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-26 10:01:50 +0900 |
commit | bbed4c32e469ee74718d5a9cc52792cb473700b9 (patch) | |
tree | 8679030588e2b3574d1d85d6c64bc1c2bf52d7e0 | |
parent | c9936eecdb9265eb4ec7ed3b7fa3ae13ac6bc8fe (diff) | |
parent | 92b0c49cb95656fdcdf49acca9ccb0e06378a8f4 (diff) | |
download | rails-bbed4c32e469ee74718d5a9cc52792cb473700b9.tar.gz rails-bbed4c32e469ee74718d5a9cc52792cb473700b9.tar.bz2 rails-bbed4c32e469ee74718d5a9cc52792cb473700b9.zip |
Merge pull request #31797 from eugeneius/mysql_index_order
Update note on MySQL index order support [ci skip]
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 2 |
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 # |