adding a test for #10830

Conflicts:
	activerecord/test/cases/adapters/postgresql/bytea_test.rb
the typecast value should be passed to the serializer.  fixes #10830
Fix #10789. Now at last ::Logger doesn't support #silence method .
only check pending migrations if there are new files
Merge pull request #10482 from scudco/10432-fix-add-column-with-array

Fixes #10432 add_column not creating array columns in PostgreSQL
Conflicts:
	activerecord/CHANGELOG.md