From 0af9006f05d7d1adfcf7d1ab3de3ed216c901553 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 26 Nov 2024 22:00:24 -0500 Subject: [PATCH] Move database storage (#41) Requires update in deployment docker container (docker volume mount change) Reviewed-on: https://git.atomaka.com/atomaka/budget/pulls/41 --- config/database.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config/database.yml b/config/database.yml index 07c91f4..c5a9bfb 100644 --- a/config/database.yml +++ b/config/database.yml @@ -12,14 +12,14 @@ default: &default development: primary: <<: *default - database: db/development.sqlite3 + database: storage/development.sqlite3 cache: <<: *default - database: db/development_cache.sqlite3 + database: storage/development_cache.sqlite3 migrations_paths: db/cache_migrate queue: <<: *default - database: db/development_queue.sqlite3 + database: storage/development_queue.sqlite3 migrations_paths: db/queue_migrate @@ -28,17 +28,17 @@ development: # Do not set this db to the same as development or production. test: <<: *default - database: db/test.sqlite3 + database: storage/test.sqlite3 production: primary: <<: *default - database: db/production.sqlite3 + database: storage/production.sqlite3 cache: <<: *default - database: db/production_cache.sqlite3 + database: storage/production_cache.sqlite3 migrations_paths: db/cache_migrate queue: <<: *default - database: db/production_queue.sqlite3 + database: storage/production_queue.sqlite3 migrations_paths: db/queue_migrate