annotate config/database.yml.example @ 265:6cca1ab53337

Infinitely better error messages and notice.
author edogawaconan <me@myconan.net>
date Wed, 16 Oct 2013 02:56:30 +0900
parents bcca41003e84
children
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
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
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
6 username: zp
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
7 password: silica
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
8 host: 127.0.0.1
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
9
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
10 development:
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
11 database: zeropaste_dev
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
12 <<: *login
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
13
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
14 test:
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
15 database: zeropaste_test
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
16 <<: *login
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
17
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
18 production:
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
19 database: zeropaste
33e8202c7e5d Added example database.yml.
Edho Arief <edho@myconan.net>
parents:
diff changeset
20 <<: *login