From 99801c6a7b69eb4b006a55de17ada78f3a0fa4c1 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Mon, 19 Jan 2015 03:36:09 +0900 Subject: Dump indexes in `create_table` instead of `add_index` If the adapter supports indexes in create table, generated SQL is slightly more efficient. --- activerecord/CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'activerecord/CHANGELOG.md') 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* -- cgit v1.2.3