aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2014-11-10 13:53:27 +0900
committerRyuta Kamizono <kamipo@gmail.com>2015-03-06 18:56:19 +0900
commit0aa83f3b88c71df4f29b8c52d6297e2e5886e258 (patch)
treee18f89c0e6c04bf6cd0585cc01e761db18622fe9 /activerecord/CHANGELOG.md
parenteac3349285718e2a145c1e85e1fdb7bf96fc5bd1 (diff)
downloadrails-0aa83f3b88c71df4f29b8c52d6297e2e5886e258.tar.gz
rails-0aa83f3b88c71df4f29b8c52d6297e2e5886e258.tar.bz2
rails-0aa83f3b88c71df4f29b8c52d6297e2e5886e258.zip
Add `:charset` and `:collation` options support for MySQL string and text columns
Example: create_table :foos do |t| t.string :string_utf8_bin, charset: 'utf8', collation: 'utf8_bin' t.text :text_ascii, charset: 'ascii' 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 0f99f907e8..7565f53177 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,14 @@
+* Add `:charset` and `:collation` options support for MySQL string and text columns.
+
+ Example:
+
+ create_table :foos do |t|
+ t.string :string_utf8_bin, charset: 'utf8', collation: 'utf8_bin'
+ t.text :text_ascii, charset: 'ascii'
+ end
+
+ *Ryuta Kamizono*
+
* Correctly dump `serial` and `bigserial`.
*Ryuta Kamizono*