aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2015-05-02 21:31:47 +0900
committerRyuta Kamizono <kamipo@gmail.com>2015-05-04 03:53:41 +0900
commitf8e748b4e85996cb70a3e6f258944ad45f07a802 (patch)
treeea884d69ea2af968763180b0e1c1790483d89266 /activerecord/CHANGELOG.md
parent446f2521003de3b22f65104791b4371847e43b85 (diff)
downloadrails-f8e748b4e85996cb70a3e6f258944ad45f07a802.tar.gz
rails-f8e748b4e85996cb70a3e6f258944ad45f07a802.tar.bz2
rails-f8e748b4e85996cb70a3e6f258944ad45f07a802.zip
PostgreSQL: `:collation` support for string and text columns
Example: create_table :foos do |t| t.string :string_en, collation: 'en_US.UTF-8' t.text :text_ja, collation: 'ja_JP.UTF-8' end
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 923d780b90..35f760d63a 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,14 @@
+* PostgreSQL: `:collation` support for string and text columns.
+
+ Example:
+
+ create_table :foos do |t|
+ t.string :string_en, collation: 'en_US.UTF-8'
+ t.text :text_ja, collation: 'ja_JP.UTF-8'
+ end
+
+ *Ryuta Kamizono*
+
* Make `unscope` aware of "less than" and "greater than" conditions.
*TAKAHASHI Kazuaki*