We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a24239 commit f19c0b1Copy full SHA for f19c0b1
Gemfile
@@ -7,7 +7,8 @@ ruby "2.7.5"
7
gem "rails", "~> 7.0.2", ">= 7.0.2.3"
8
9
# Use sqlite3 as the database for Active Record
10
-gem "sqlite3", "~> 1.4"
+#gem "sqlite3", "~> 1.4"
11
+gem "pg"
12
13
# Use the Puma web server [https://github.com/puma/puma]
14
gem "puma", "~> 5.0"
@@ -47,5 +48,6 @@ end
47
48
group :development do
49
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
50
# gem "spring"
51
+ gem "sqlite3", "~> 1.4"
52
end
53
config/database.yml
@@ -21,5 +21,7 @@ test:
21
database: db/zipcodes.sqlite3
22
23
production:
24
- <<: *default
25
- database: db/zipcodes.sqlite3
+ adapter: postgresql
+ database: zipcodes_production
26
+ pool: 5
27
+ timeout: 5000
0 commit comments