add support for read only post queries

This commit is contained in:
r888888888
2016-01-25 16:29:53 -08:00
parent 11f816a196
commit 9d3d7abedc
5 changed files with 31 additions and 5 deletions

View File

@@ -20,3 +20,20 @@ production:
database: danbooru2
pool: 5
timeout: 5000
# read only databases, just point to local copies if you have no need
ro_development:
adapter: postgresql
database: danbooru2
ro_test:
adapter: postgresql
database: danbooru2_test
ro_production:
adapter: postgresql
database: danbooru2
ro_staging:
adapter: postgresql
database: danbooru2