Remove length limit that results failure in other tests.
This commit is contained in:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user