diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2015-01-19 03:36:09 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2015-05-03 23:35:13 +0900 |
commit | 99801c6a7b69eb4b006a55de17ada78f3a0fa4c1 (patch) | |
tree | aedf8ef73adb10276240a2ed1806f0bf36db9aad /activerecord/CHANGELOG.md | |
parent | 5f844211bebc7a974dc3ff6d67901515369c1840 (diff) | |
download | rails-99801c6a7b69eb4b006a55de17ada78f3a0fa4c1.tar.gz rails-99801c6a7b69eb4b006a55de17ada78f3a0fa4c1.tar.bz2 rails-99801c6a7b69eb4b006a55de17ada78f3a0fa4c1.zip |
Dump indexes in `create_table` instead of `add_index`
If the adapter supports indexes in create table, generated SQL is
slightly more efficient.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 923d780b90..0e799eb40e 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,10 @@ +* Dump indexes in `create_table` instead of `add_index`. + + If the adapter supports indexes in create table, generated SQL is + slightly more efficient. + + *Ryuta Kamizono* + * Make `unscope` aware of "less than" and "greater than" conditions. *TAKAHASHI Kazuaki* |