This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/script/bulk_import
Loïc Guitaut ab6ca78486 FIX: Use proper ActiveRecord method in import scripts
`ActiveRecord::Base.connection_config` has been deprecated since Rails
6.1 and was completely removed from Rails 7.
Instead we need to use
`ActiveRecord::Base.connection_db_config.configuration_hash`.

Import scripts were forgotten when we did the Rails 7 upgrade, this
patch fixes them.
2022-05-09 11:09:27 +02:00
..
base.rb FIX: Use proper ActiveRecord method in import scripts 2022-05-09 11:09:27 +02:00
discourse_merger.rb FIX: Use proper ActiveRecord method in import scripts 2022-05-09 11:09:27 +02:00
phpbb_postgresql.rb
vanilla.rb
vbulletin5.rb
vbulletin.rb