Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use postgres

  • Loading branch information...
commit 41795cb31d594a23d03050fb7eb26e6b5d5782b8 1 parent 10e5d86
@joshuaclayton authored
Showing with 11 additions and 23 deletions.
  1. +1 −1  Gemfile
  2. +2 −2 Gemfile.lock
  3. +8 −20 config/database.yml
View
2  Gemfile
@@ -9,7 +9,7 @@ gem 'backbone-support'
gem 'active_model_serializers'
gem 'compass-rails'
-gem 'sqlite3'
+gem 'pg'
group :assets do
gem 'sass-rails', '~> 3.2.3'
View
4 Gemfile.lock
@@ -106,6 +106,7 @@ GEM
mime-types (1.19)
multi_json (1.3.6)
nokogiri (1.5.5)
+ pg (0.14.0)
polyglot (0.3.3)
rack (1.4.1)
rack-cache (1.2)
@@ -163,7 +164,6 @@ GEM
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
- sqlite3 (1.3.6)
thor (0.16.0)
tilt (1.3.3)
treetop (1.4.10)
@@ -194,9 +194,9 @@ DEPENDENCIES
high_voltage
jasminerice
jquery-rails
+ pg
rails (= 3.2.8)
rspec-rails
sass-rails (~> 3.2.3)
shoulda-matchers
- sqlite3
uglifier (>= 1.0.3)
View
28 config/database.yml
@@ -1,25 +1,13 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
development:
- adapter: sqlite3
- database: db/development.sqlite3
+ adapter: postgresql
+ database: backbone_data_bootstrap_development
+ min_messages: WARNING
+ host: localhost
pool: 5
- timeout: 5000
-# 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:
- adapter: sqlite3
- database: db/test.sqlite3
+ adapter: postgresql
+ database: backbone_data_bootstrap_test
+ min_messages: WARNING
+ host: localhost
pool: 5
- timeout: 5000
-
-production:
- adapter: sqlite3
- database: db/production.sqlite3
- pool: 5
- timeout: 5000
Please sign in to comment.
Something went wrong with that request. Please try again.