diff options
author | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2015-05-24 11:54:02 +0530 |
---|---|---|
committer | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2015-05-28 08:40:40 +0530 |
commit | 3932912a5965f020999064ebde07b541394f72d4 (patch) | |
tree | 6be56267bcd7bb7315904a7fe4c6be72e207a220 /activerecord/CHANGELOG.md | |
parent | 902360b77f51ade0eedcc6b0f8db6cd30aa97582 (diff) | |
download | rails-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.md | 15 |
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: |