Files
danbooru/script/install/database.yml.templ
2019-11-15 23:59:56 -06:00

46 lines
1.1 KiB
Plaintext

# SQLite version 3.x
# gem install sqlite3-ruby (not necessary on OS X Leopard)
development:
adapter: postgresql
database: danbooru2
pool: 5
timeout: 5000
url: <%= ENV['DATABASE_URL'] %>
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: postgresql
database: danbooru2_test
pool: 5
timeout: 5000
url: <%= ENV['DATABASE_URL'] %>
production:
adapter: postgresql
database: danbooru2
pool: 5
timeout: 5000
url: <%= ENV['DATABASE_URL'] %>
archive_development:
adapter: postgresql
database: archive_development
url: <%= ENV['ARCHIVE_DATABASE_URL'] %>
archive_test:
adapter: postgresql
database: archive_test
url: <%= ENV['ARCHIVE_DATABASE_URL'] %>
archive_production:
adapter: postgresql
database: archive_development
url: <%= ENV['ARCHIVE_DATABASE_URL'] %>
archive_staging:
adapter: postgresql
database: archive_development
url: <%= ENV['ARCHIVE_DATABASE_URL'] %>