diff --git a/config/database.yml b/config/database.yml index 3d62897..334aa13 100644 --- a/config/database.yml +++ b/config/database.yml @@ -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