diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 12:15:19 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 12:15:19 -0500 |
commit | f4c784443ebcda165367c07153bd1ea615cd6885 (patch) | |
tree | dd627bc6146d191241dfde7bff349aa59be6c359 /config/database.yml | |
parent | 56f5841d4b9c12296cdfcaeff174b2627d59afc8 (diff) | |
download | pokeviewer-f4c784443ebcda165367c07153bd1ea615cd6885.tar.gz pokeviewer-f4c784443ebcda165367c07153bd1ea615cd6885.tar.bz2 pokeviewer-f4c784443ebcda165367c07153bd1ea615cd6885.zip |
Configured production database
Diffstat (limited to 'config/database.yml')
-rw-r--r-- | config/database.yml | 10 |
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 | ||
23 | production: | 23 | production: |
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 | ||