Rather than use the MySQL specific TINYTEXT, MEDIUMTEXT and LONGTEXT datatypes, Active Record migrations use TEXT(n) where n is the limit specified by the developer. Unfortunately how MySQL interprets n depends on the column's encoding so any limit above 5592405 will be interpreted as a LONGTEXT when the encoding is UTF-8. This commit fixes this by interpreting the limit within the adapter and using the specific MySQL datatype as appropriate.
Don't install ruby-debug if running the test suite on Travis, linecache19 is the main offender, very very slow. And do not install pg if Travis is bundling the gems, pg will be setup on Travis soon. Conflicts: Gemfile
it's loading rbx-require-relative > 0.0.4
…dency of linecache which is a dependency of ruby-debug. However, the latest release of linecache (0.45) omits the dependency from its gemspec, causing the build to fail. I have emailed the maintainer so we should remove this when it's fixed upstream.
…in jruby [#5762]
[#5762 state:committed] Signed-off-by: Santiago Pastorino <email@example.com>
This reverts commit d5e9165.