spec/dummy/config/database.yml in switchman-1.2.20 vs spec/dummy/config/database.yml in switchman-1.2.21

- old
+ new

@@ -1,30 +1,21 @@ -common: &common - adapter: postgresql - encoding: utf8 - username: switchman - password: switchman - timeout: 5000 - +# SQLite version 3.x +# gem install sqlite3 +# +# Ensure the SQLite 3 gem is defined in your Gemfile +# gem 'sqlite3' development: - <<: *common + adapter: postgresql database: switchman_development - queue: - <<: *common - database: switchman_queue_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: - <<: *common + adapter: postgresql database: switchman_test -test-in-memory: - adapter: sqlite3 - encoding: utf8 - database: ':memory:' - pool: 1 - production: - <<: *common - database: switchman_production - queue: - <<: *common - database: switchman_queue_production + adapter: sqlite3 + database: db/production.sqlite3 + pool: 5 + timeout: 5000