Mercurial > zeropaste
annotate config/database.yml.example @ 114:b72f99d7b8cf
Dynamic url based on options selected.
Yes, I'm having too much fun.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Mon, 12 Nov 2012 13:31:18 +0700 |
parents | 1a2dee3b05b2 |
children | bcca41003e84 |
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 |
4 adapter: mysql2 | |
19
99d0adfd5453
Added some default config for database.
Edho Arief <edho@myconan.net>
parents:
13
diff
changeset
|
5 encoding: utf8 |
99d0adfd5453
Added some default config for database.
Edho Arief <edho@myconan.net>
parents:
13
diff
changeset
|
6 pool: 5 |
13 | 7 username: zp |
8 password: silica | |
9 host: 127.0.0.1 | |
10 | |
11 development: | |
12 database: zeropaste_dev | |
13 <<: *login | |
14 | |
15 test: | |
16 database: zeropaste_test | |
17 <<: *login | |
18 | |
19 production: | |
20 database: zeropaste | |
21 <<: *login |