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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 # Copy this to "database.yml" and adjust the fields accordingly.
82
1a2dee3b05b2 Typo in comment.
Edho Arief <edho@myconan.net>
parents: 19
diff changeset
2 # Should work with any adapter.
13
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3 login: &login
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
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
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
7 username: zp
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
8 password: silica
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
9 host: 127.0.0.1
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
10
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
11 development:
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
12 database: zeropaste_dev
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
13 <<: *login
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
14
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
15 test:
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
16 database: zeropaste_test
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
17 <<: *login
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
18
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
19 production:
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
20 database: zeropaste
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
21 <<: *login