Mercurial > zeropaste
annotate config/database.yml.example @ 378:e84276bf344a
Immediate return instead of unless ... end.
author | nanaya <me@myconan.net> |
---|---|
date | Sat, 06 Jun 2015 22:36:32 +0900 |
parents | bcca41003e84 |
children |
rev | line source |
---|---|
13 | 1 # Copy this to "database.yml" and adjust the fields accordingly. |
82 | 2 # Should work with any adapter. |
13 | 3 login: &login |
254
bcca41003e84
Use postgres 'cuz mysql is shit.
edogawaconan <me@myconan.net>
parents:
82
diff
changeset
|
4 adapter: postgresql |
19
99d0adfd5453
Added some default config for database.
Edho Arief <edho@myconan.net>
parents:
13
diff
changeset
|
5 pool: 5 |
13 | 6 username: zp |
7 password: silica | |
8 host: 127.0.0.1 | |
9 | |
10 development: | |
11 database: zeropaste_dev | |
12 <<: *login | |
13 | |
14 test: | |
15 database: zeropaste_test | |
16 <<: *login | |
17 | |
18 production: | |
19 database: zeropaste | |
20 <<: *login |