diff options
author | Matthew Draper <matthew@trebex.net> | 2016-10-06 02:40:21 +1030 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-06 02:40:21 +1030 |
commit | 32e3ad7e378105553d267f5a89067a35dad311fd (patch) | |
tree | 8908f68e15d3a7997a209db18aefc2c8cd93a75b /activerecord | |
parent | e16b5b43380d7cdd7b199c2e158113529452da51 (diff) | |
parent | 13c38bc936f3e284308a68556140b9faad5498fb (diff) | |
download | rails-32e3ad7e378105553d267f5a89067a35dad311fd.tar.gz rails-32e3ad7e378105553d267f5a89067a35dad311fd.tar.bz2 rails-32e3ad7e378105553d267f5a89067a35dad311fd.zip |
Merge pull request #26633 from kamipo/text_too_big_should_be_text
`:text_too_big` column should be `:text`, not `:integer`
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/migration/column_attributes_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/migration/column_attributes_test.rb b/activerecord/test/cases/migration/column_attributes_test.rb index 03d781d3d2..bea6b9f3a8 100644 --- a/activerecord/test/cases/migration/column_attributes_test.rb +++ b/activerecord/test/cases/migration/column_attributes_test.rb @@ -165,7 +165,7 @@ module ActiveRecord assert_raise(ActiveRecordError) { add_column :test_models, :integer_too_big, :integer, limit: 10 } unless current_adapter?(:PostgreSQLAdapter) - assert_raise(ActiveRecordError) { add_column :test_models, :text_too_big, :integer, limit: 0xfffffffff } + assert_raise(ActiveRecordError) { add_column :test_models, :text_too_big, :text, limit: 0xfffffffff } end end end |