diff 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
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