summaryrefslogtreecommitdiff
path: root/config/database.yml
diff options
context:
space:
mode:
Diffstat (limited to 'config/database.yml')
-rw-r--r--config/database.yml44
1 files changed, 16 insertions, 28 deletions
diff --git a/config/database.yml b/config/database.yml
index d462838..1c1a37c 100644
--- a/config/database.yml
+++ b/config/database.yml
@@ -1,37 +1,25 @@
-base: &base
- adapter: postgresql
- encoding: unicode
- pool: 5
- username: mb7
- password:
+# SQLite version 3.x
+# gem install sqlite3
#
-development:
- database: ecs_development
- <<: *base
-
- # Connect on a TCP socket. Omitted by default since the client uses a
- # domain socket that doesn't need configuration. Windows does not have
- # domain sockets, so uncomment these lines.
- #host: localhost
- #port: 5432
-
- # Schema search path. The server defaults to $user,public
- #schema_search_path: myapp,sharedapp,public
+# Ensure the SQLite 3 gem is defined in your Gemfile
+# gem 'sqlite3'
+#
+default: &default
+ adapter: sqlite3
+ pool: 5
+ timeout: 5000
- # Minimum log levels, in increasing order:
- # debug5, debug4, debug3, debug2, debug1,
- # log, notice, warning, error, fatal, and panic
- # The server defaults to notice.
- #min_messages: warning
+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:
- database: ecs_test
- <<: *base
+ <<: *default
+ database: db/test.sqlite3
production:
- database: ecs_production
- <<: *base
-
+ <<: *default
+ database: db/production.sqlite3