# HG changeset patch # User Edho Arief # Date 1346008008 25200 # Node ID 33e8202c7e5d11b36158285b6dbd7ef442b7e125 # Parent f3adcff48173064ec2a39d34cd455eb6dc8a3499 Added example database.yml. diff -r f3adcff48173 -r 33e8202c7e5d config/database.yml.example --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/database.yml.example Sun Aug 26 12:06:48 2012 -0700 @@ -0,0 +1,19 @@ +# Copy this to "database.yml" and adjust the fields accordingly. +# Show work with any adapter. +login: &login + adapter: mysql2 + username: zp + password: silica + host: 127.0.0.1 + +development: + database: zeropaste_dev + <<: *login + +test: + database: zeropaste_test + <<: *login + +production: + database: zeropaste + <<: *login