changeset 13:33e8202c7e5d

Added example database.yml.
author Edho Arief <edho@myconan.net>
date Sun, 26 Aug 2012 12:06:48 -0700
parents f3adcff48173
children 5a21bc200a53
files config/database.yml.example
diffstat 1 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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