diff options
author | Jeremy Kemper <jeremykemper@gmail.com> | 2015-04-07 09:40:16 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremykemper@gmail.com> | 2015-04-07 09:40:16 -0700 |
commit | bd51bbc02842ac59b53fa7851a7da3612a474119 (patch) | |
tree | b57204d3a60f0b974c1a0e633601cbe55cb3a953 /activerecord/CHANGELOG.md | |
parent | 693b333920fc2f5b74f157d46d531cd97b692006 (diff) | |
parent | 0aa83f3b88c71df4f29b8c52d6297e2e5886e258 (diff) | |
download | rails-bd51bbc02842ac59b53fa7851a7da3612a474119.tar.gz rails-bd51bbc02842ac59b53fa7851a7da3612a474119.tar.bz2 rails-bd51bbc02842ac59b53fa7851a7da3612a474119.zip |
Merge pull request #17574 from kamipo/charset_collation_options
Add charset and collation options support for MySQL string and text columns.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 780c34147d..6312960819 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,14 @@ +* MySQL: `:charset` and `:collation` support for 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* + * Foreign key related methods in the migration DSL respect `ActiveRecord::Base.pluralize_table_names = false`. |