annotate config/database.yml.example @ 13:33e8202c7e5d

Added example database.yml.
author Edho Arief <edho@myconan.net>
date Sun, 26 Aug 2012 12:06:48 -0700
parents
children 99d0adfd5453
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.
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
2 # Show work with any adapter.
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
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
5 username: zp
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
6 password: silica
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
7 host: 127.0.0.1
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
8
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
9 development:
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
10 database: zeropaste_dev
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
11 <<: *login
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
12
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
13 test:
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
14 database: zeropaste_test
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
15 <<: *login
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
16
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
17 production:
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
18 database: zeropaste
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
19 <<: *login