about summary refs log tree commit diff stats
path: root/config/database.yml
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-12-07 12:15:19 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2024-12-07 12:15:19 -0500
commitf4c784443ebcda165367c07153bd1ea615cd6885 (patch)
treedd627bc6146d191241dfde7bff349aa59be6c359 /config/database.yml
parent56f5841d4b9c12296cdfcaeff174b2627d59afc8 (diff)
downloadpokeviewer-f4c784443ebcda165367c07153bd1ea615cd6885.tar.gz
pokeviewer-f4c784443ebcda165367c07153bd1ea615cd6885.tar.bz2
pokeviewer-f4c784443ebcda165367c07153bd1ea615cd6885.zip
Configured production database
Diffstat (limited to 'config/database.yml')
-rw-r--r--config/database.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/config/database.yml b/config/database.yml index 796466b..744efc6 100644 --- a/config/database.yml +++ b/config/database.yml
@@ -21,5 +21,11 @@ test:
21 database: storage/test.sqlite3 21 database: storage/test.sqlite3
22 22
23production: 23production:
24 <<: *default 24 adapter: mysql2
25 database: storage/production.sqlite3 25 encoding: utf8mb4
26 database: pokeviewer
27 pool: 5
28 username: pokeviewer
29 password: <%= Rails.application.credentials.database_password %>
30 collation: utf8mb4_bin
31 socket: /var/run/mysqld/mysqld.sock