Rails 6.1 deprecates rails db:structure:dump and rails db:structure:load
02-Oct-2020 2552
Rails 6.1 deprecates rails db:structure:load and rails db:structure:dump tasks.Before Rails 6.1, executing rake db:schema:dump would dump db/schema.rb file. And executing rake db:structure:dump would dump db/structure.sql file.Rails provides config.active_record.schema_format setting for which the valid values are :ruby or :sql. However, since there are specific tasks for db:structure and db:schema this value was not really being used.
Rails 6.1 deprecates rails db:structure:dump and rails db:structure:load #ruby #rubydeveloper #rubyonrails #Rails #deprecates #rails #db:structure:dump #rails #db:structure:load #db:structure:dump https://rubyonrails.ba/link/rails-6-1-deprecates-rails-db-structure-dump-and-rails-db-structure-load