aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/mysql2_specific_schema.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-10-20 14:01:54 -0600
committerSean Griffin <sean@seantheprogrammer.com>2015-10-20 14:01:54 -0600
commitee865eb244c8db11dcfbadbce0994d3c6488e7ec (patch)
tree35251657b9401fa7fab66980769b25876c22cfd5 /activerecord/test/schema/mysql2_specific_schema.rb
parentcbfe5bb3c40956a0481b7c3d10177b8c68e63aaa (diff)
parentf8438ae336f8f7d38c83a178d6ab6a9af635ee6c (diff)
downloadrails-ee865eb244c8db11dcfbadbce0994d3c6488e7ec.tar.gz
rails-ee865eb244c8db11dcfbadbce0994d3c6488e7ec.tar.bz2
rails-ee865eb244c8db11dcfbadbce0994d3c6488e7ec.zip
Merge pull request #21962 from kamipo/fix_tinyblob
Fix to correctly schema dump the `tinyblob`
Diffstat (limited to 'activerecord/test/schema/mysql2_specific_schema.rb')
-rw-r--r--activerecord/test/schema/mysql2_specific_schema.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/schema/mysql2_specific_schema.rb b/activerecord/test/schema/mysql2_specific_schema.rb
index 52d3290c84..94d24b13e6 100644
--- a/activerecord/test/schema/mysql2_specific_schema.rb
+++ b/activerecord/test/schema/mysql2_specific_schema.rb
@@ -2,7 +2,7 @@ ActiveRecord::Schema.define do
create_table :binary_fields, force: true do |t|
t.binary :var_binary, limit: 255
t.binary :var_binary_large, limit: 4095
- t.column :tiny_blob, 'tinyblob', limit: 255
+ t.blob :tiny_blob, limit: 255
t.binary :normal_blob, limit: 65535
t.binary :medium_blob, limit: 16777215
t.binary :long_blob, limit: 2147483647