Merge pull request #16250 from zuhao/refactor_activerecord_migration_test
Remove length limit that results failure in other tests.
This commit is contained in:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user