diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-04-04 03:55:04 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-04 03:55:04 +0900 |
commit | 9bccf4604ff007f5a2474b91a10a285b1849b746 (patch) | |
tree | b66a18ff72fd898b5d6f5917836afe46c342acf2 /railties/lib/rails | |
parent | d39b2b684e94e856a4a1257984ff6a1d5f978a2c (diff) | |
parent | 0908184e4c2dca5b941030bbd0d5eb2dfcfed120 (diff) | |
download | rails-9bccf4604ff007f5a2474b91a10a285b1849b746.tar.gz rails-9bccf4604ff007f5a2474b91a10a285b1849b746.tar.bz2 rails-9bccf4604ff007f5a2474b91a10a285b1849b746.zip |
Merge pull request #35844 from kamipo/fix_fixture_loading_performance_regression
Use `execute_batch2` rather than `execute_batch` to fix performance regression for fixture loading
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/database.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/database.rb b/railties/lib/rails/generators/database.rb index 18fc7be3ff..cc6e7b50e5 100644 --- a/railties/lib/rails/generators/database.rb +++ b/railties/lib/rails/generators/database.rb @@ -15,7 +15,7 @@ module Rails case database when "mysql" then ["mysql2", [">= 0.4.4"]] when "postgresql" then ["pg", [">= 0.18", "< 2.0"]] - when "sqlite3" then ["sqlite3", ["~> 1.3", ">= 1.3.6"]] + when "sqlite3" then ["sqlite3", ["~> 1.4"]] when "oracle" then ["activerecord-oracle_enhanced-adapter", nil] when "frontbase" then ["ruby-frontbase", nil] when "sqlserver" then ["activerecord-sqlserver-adapter", nil] |