aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2015-01-19 03:36:09 +0900
committerRyuta Kamizono <kamipo@gmail.com>2015-05-03 23:35:13 +0900
commit99801c6a7b69eb4b006a55de17ada78f3a0fa4c1 (patch)
treeaedf8ef73adb10276240a2ed1806f0bf36db9aad /activerecord/CHANGELOG.md
parent5f844211bebc7a974dc3ff6d67901515369c1840 (diff)
downloadrails-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.md7
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*