Skip to content

Commit

Permalink
Fix dummy app database.yml for ENV[DB] = sqlite3
Browse files Browse the repository at this point in the history
This is the same fix as #5613, but this time for the dummy app
`database.yml` template rather than for the install generator.

I've now also tested this locally, and it seems to work.

(cherry picked from commit 0a8c2b8)
  • Loading branch information
mamhoff committed Jan 24, 2024
1 parent ccdf0d7 commit f773228
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'mysql'
when 'postgres', 'postgresql'
'postgres'
when 'sqlite', '', nil
when /sqlite3?/, '', nil
'sqlite'
else
raise "Invalid DB specified: #{ENV['DB']}"
Expand Down

0 comments on commit f773228

Please sign in to comment.