summaryrefslogtreecommitdiff
path: root/config/database.yml
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2015-02-25 18:39:14 -0800
committerJesse Morgan <jesse@jesterpm.net>2015-02-25 18:39:14 -0800
commitf031bdc3e5214c699123830d8cc9f9309b792a68 (patch)
tree03b92c94187d8866f63682a108d20c98dd913be9 /config/database.yml
rails new
Diffstat (limited to 'config/database.yml')
-rw-r--r--config/database.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/config/database.yml b/config/database.yml
new file mode 100644
index 0000000..1c1a37c
--- /dev/null
+++ b/config/database.yml
@@ -0,0 +1,25 @@
+# SQLite version 3.x
+# gem install sqlite3
+#
+# Ensure the SQLite 3 gem is defined in your Gemfile
+# gem 'sqlite3'
+#
+default: &default
+ adapter: sqlite3
+ pool: 5
+ timeout: 5000
+
+development:
+ <<: *default
+ database: db/development.sqlite3
+
+# 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: db/test.sqlite3
+
+production:
+ <<: *default
+ database: db/production.sqlite3