lib/rails/generators/database.rb in railties-7.1.3.4 vs lib/rails/generators/database.rb in railties-7.1.4
- old
+ new
@@ -14,10 +14,10 @@
def gem_for_database(database = options[:database])
case database
when "mysql" then ["mysql2", ["~> 0.5"]]
when "trilogy" then ["trilogy", ["~> 2.4"]]
when "postgresql" then ["pg", ["~> 1.1"]]
- when "sqlite3" then ["sqlite3", ["~> 1.4"]]
+ when "sqlite3" then ["sqlite3", [">= 1.4"]]
when "oracle" then ["activerecord-oracle_enhanced-adapter", nil]
when "sqlserver" then ["activerecord-sqlserver-adapter", nil]
when "jdbcmysql" then ["activerecord-jdbcmysql-adapter", nil]
when "jdbcsqlite3" then ["activerecord-jdbcsqlite3-adapter", nil]
when "jdbcpostgresql" then ["activerecord-jdbcpostgresql-adapter", nil]