From 8e30a636256fcc5d4e9c48825339e894c9e7b8a4 Mon Sep 17 00:00:00 2001 From: Zuhao Wan Date: Tue, 22 Jul 2014 11:22:05 +0800 Subject: Remove length limit that results failure in other tests. --- activerecord/test/cases/migration_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb index 84720585f2..2a00b2a3a6 100644 --- a/activerecord/test/cases/migration_test.rb +++ b/activerecord/test/cases/migration_test.rb @@ -63,7 +63,7 @@ class MigrationTest < ActiveRecord::TestCase end Person.connection.remove_column("people", "first_name") rescue nil Person.connection.remove_column("people", "middle_name") rescue nil - Person.connection.add_column("people", "first_name", :string, :limit => 40) + Person.connection.add_column("people", "first_name", :string, null: false) Person.reset_column_information end -- cgit v1.2.3