Refactor `SchemaDumper` to make it possible to adapter specific customization
#30337

kamipo wants to merge kamipo:refactor_schema_dumper into rails:master

We do not currently have an analysis of these two commits