aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2014-11-13 04:30:57 +0900
committerRyuta Kamizono <kamipo@gmail.com>2015-02-26 07:57:53 +0900
commit3239b6a98ad7c99b6bd8cd6345c59430e5d38083 (patch)
tree309228578885d7b14e9f979b1fe12513e38d94ca /activerecord/CHANGELOG.md
parent026ce5ddf11c4cda0aae7f33a9266e54117db318 (diff)
downloadrails-3239b6a98ad7c99b6bd8cd6345c59430e5d38083.tar.gz
rails-3239b6a98ad7c99b6bd8cd6345c59430e5d38083.tar.bz2
rails-3239b6a98ad7c99b6bd8cd6345c59430e5d38083.zip
Add `SchemaMigration.create_table` support any unicode charsets for MySQL.
MySQL unicode support is not only `utf8mb4`. Then, The index length problem is not only `utf8mb4`. http://dev.mysql.com/doc/refman/5.6/en/charset-unicode.html SELECT * FROM information_schema.character_sets WHERE maxlen > 3; +--------------------+----------------------+------------------+--------+ | CHARACTER_SET_NAME | DEFAULT_COLLATE_NAME | DESCRIPTION | MAXLEN | +--------------------+----------------------+------------------+--------+ | utf8mb4 | utf8mb4_general_ci | UTF-8 Unicode | 4 | | utf16 | utf16_general_ci | UTF-16 Unicode | 4 | | utf16le | utf16le_general_ci | UTF-16LE Unicode | 4 | | utf32 | utf32_general_ci | UTF-32 Unicode | 4 | +--------------------+----------------------+------------------+--------+
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 6cdf9ebd9b..b66db6a754 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Add `SchemaMigration.create_table` support any unicode charsets for MySQL.
+
+ *Ryuta Kamizono*
+
* PostgreSQL, no longer disables user triggers if system triggers can't be
disabled. Disabling user triggers does not fulfill what the method promises.
Rails currently requires superuser privileges for this method.