Switch DB from sqlite to Postgres

-Postgres for production
-Migrations don't translate well between sqlite and postgres, better to just develop using the same database as production.
-Fixed migrations to work with Postgres
-Updated Readme for PG install instructions
-database config moved to .example
This commit is contained in:
Jason Denney
2013-06-25 23:50:34 -04:00
parent 238a3af7d5
commit f0ce8b7171
9 changed files with 58 additions and 35 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ gem 'decent_exposure', '~> 1.0.1'
gem 'devise', '~> 2.0.4'
gem 'haml-rails', '~> 0.3.4'
gem 'jquery-rails', '~> 2.0'
gem 'sqlite3', '~> 1.3.5'
gem 'pg'
gem 'will_paginate', '~> 3.0.3'
# Gems used only for assets and not required