Backport: Duplicate column_defaults properly

Backport #6115

Deleted:
activerecord/lib/active_record/core.rb

Conflicts:
activerecord/test/cases/base_test.rb