Jonne Haß
6b217c32f2
Shorten index for tweet_id too in mysql utf8mb4 migration
2015-03-15 16:59:50 +01:00
Jonne Haß
414cfbdae0
Array#to_h is new in Ruby 2.1, we still suppport 2.0
2015-03-15 15:59:06 +01:00
Jonne Haß
b991ffe455
Merge pull request #5624 from dimaursu/emoji
...
Add collation and config check
2015-02-08 00:04:46 +01:00
Dumitru Ursu
0829e6f394
Add collation and config check
2015-02-06 00:49:07 +02:00
Dumitru Ursu
28fdba5d89
Shorten indexes
...
Fix merge conflict
2015-01-20 22:41:52 +02:00
Dumitru Ursu
a733a774d1
Refactor & DRY encoding migration
...
Dynamic row for MySQL
Set larger column index sizes
2015-01-19 02:19:39 +02:00
Dumitru Ursu
dda5f71124
Add warning about encoding change
...
Add warning about MySQL collation
Fix database index length
This allows new databases to be created with utf8mb4, on MySQL. The maximum
column size is 767 bytes. Each character is 4 bytes long -> 767 / 4 = 191
characters for the column.
2015-01-19 02:19:39 +02:00
Dumitru Ursu
b0ef4509a6
Change the adapter encoding to utf8mb4
2015-01-19 02:18:19 +02:00