From f4c784443ebcda165367c07153bd1ea615cd6885 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 7 Dec 2024 12:15:19 -0500 Subject: Configured production database --- config/database.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'config/database.yml') 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: database: storage/test.sqlite3 production: - <<: *default - database: storage/production.sqlite3 + adapter: mysql2 + encoding: utf8mb4 + database: pokeviewer + pool: 5 + username: pokeviewer + password: <%= Rails.application.credentials.database_password %> + collation: utf8mb4_bin + socket: /var/run/mysqld/mysqld.sock -- cgit 1.4.1