Enhance db:schema:dump with custom tasks
What does this MR do?
Rails 6.1 deprecates db:structure:*
tasks in favor of db:schema:*
: https://github.com/rails/rails/blob/6-1-stable/activerecord/CHANGELOG.md
Deprecate rails db:structure:{load, dump} tasks and extend rails db:schema:{load, dump} tasks to work with either :ruby or :sql format, depending on config.active_record.schema_format configuration value.
Let's create duplicates for now. When we migrate to Rails 6.1, we can remove the db:structure:*
enhancements.