Mercurial > zeropaste
view config/database.yml.example @ 254:bcca41003e84
Use postgres 'cuz mysql is shit.
- utf8 isn't utf8 (hint: utf8mb4)
- index key too loooooooooooong
Nope.
author | edogawaconan <me@myconan.net> |
---|---|
date | Tue, 15 Oct 2013 01:47:19 +0900 |
parents | 1a2dee3b05b2 |
children |
line wrap: on
line source
# Copy this to "database.yml" and adjust the fields accordingly. # Should work with any adapter. login: &login adapter: postgresql pool: 5 username: zp password: silica host: 127.0.0.1 development: database: zeropaste_dev <<: *login test: database: zeropaste_test <<: *login production: database: zeropaste <<: *login