Update production database location

This commit is contained in:
Charlotte Van Petegem 2025-05-21 14:42:28 +02:00
parent cbaed036da
commit 99476c14c8
Signed by: chvp
SSH key fingerprint: SHA256:s9rb8jBVfdahqWHuBAcHCBP1wmj4eYQXZfqgz4H3E9E

View file

@ -11,7 +11,7 @@ default: &default
development:
<<: *default
database: <%= ENV.fetch("RAILS_DATABASE_PATH", "storage/development.sqlite3")
database: storage/development.sqlite3
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
@ -30,8 +30,8 @@ test:
production:
primary:
<<: *default
# database: path/to/persistent/storage/production.sqlite3
database: <%= ENV.fetch("RAILS_DATABASE_PATH", "storage/production.sqlite3") %>
cache:
<<: *default
# database: path/to/persistent/storage/production_cache.sqlite3
database: <%= ENV.fetch("RAILS_CACHE_DATABASE_PATH", "storage/production_cache.sqlite3") %>
migrations_paths: db/cache_migrate