aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorAkshay Vishnoi <akshay.vishnoi@vinsol.com>2015-05-24 11:54:02 +0530
committerAkshay Vishnoi <akshay.vishnoi@vinsol.com>2015-05-28 08:40:40 +0530
commit3932912a5965f020999064ebde07b541394f72d4 (patch)
tree6be56267bcd7bb7315904a7fe4c6be72e207a220 /activerecord/CHANGELOG.md
parent902360b77f51ade0eedcc6b0f8db6cd30aa97582 (diff)
downloadrails-3932912a5965f020999064ebde07b541394f72d4.tar.gz
rails-3932912a5965f020999064ebde07b541394f72d4.tar.bz2
rails-3932912a5965f020999064ebde07b541394f72d4.zip
Add collation support for string and text columns in SQLite3
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 965e769dc7..69845759f9 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,18 @@
+* SQLite: `:collation` support for string and text columns.
+
+ Example:
+
+ create_table :foo do |t|
+ t.string :string_nocase, collation: 'NOCASE'
+ t.text :text_rtrim, collation: 'RTRIM'
+ end
+
+ add_column :foo, :title, :string, collation: 'RTRIM'
+
+ change_column :foo, :title, :string, collation: 'NOCASE'
+
+ *Akshay Vishnoi*
+
* Allow the use of symbols or strings to specify enum values in test
fixtures: