Remove length limit that results failure in other tests.

This commit is contained in:
Zuhao Wan 2014-07-22 11:22:05 +08:00
parent cee2c85b07
commit 8e30a63625

@ -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