Merge pull request #16250 from zuhao/refactor_activerecord_migration_test

Remove length limit that results failure in other tests.
This commit is contained in:
Yves Senn 2014-07-22 08:45:51 +02:00
commit 30a38181f8

@ -63,7 +63,7 @@ def setup
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