Mercurial > zeropaste
comparison 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 |
comparison
equal
deleted
inserted
replaced
253:1e2e999f586a | 254:bcca41003e84 |
---|---|
1 # Copy this to "database.yml" and adjust the fields accordingly. | 1 # Copy this to "database.yml" and adjust the fields accordingly. |
2 # Should work with any adapter. | 2 # Should work with any adapter. |
3 login: &login | 3 login: &login |
4 adapter: mysql2 | 4 adapter: postgresql |
5 encoding: utf8 | |
6 pool: 5 | 5 pool: 5 |
7 username: zp | 6 username: zp |
8 password: silica | 7 password: silica |
9 host: 127.0.0.1 | 8 host: 127.0.0.1 |
10 | 9 |