about summary refs log tree commit diff
path: root/config/database.yml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-02-20 22:53:20 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-02-20 22:53:20 +0100
commit9c4856bdb11fc9311ab30a97224cee3dfaec492f (patch)
tree37fd831e505f040bbd3c583f56d3502ebd75e9c8 /config/database.yml
Initial commit
Diffstat (limited to 'config/database.yml')
-rw-r--r--config/database.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/config/database.yml b/config/database.yml
new file mode 100644
index 000000000..13e176a2d
--- /dev/null
+++ b/config/database.yml
@@ -0,0 +1,19 @@
+default: &default
+  adapter: postgresql
+  pool: 5
+  timeout: 5000
+
+development:
+  <<: *default
+  database: mastodon_development
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+  <<: *default
+  database: mastodon_test
+
+production:
+  <<: *default
+  database: mastodon_production