Permalink
Browse files

Use Postgres

  • Loading branch information...
mike-burns committed Oct 21, 2008
1 parent 3bcb5cb commit b1d95a3bb1c9267a2102b4f7d6e643518fce313c
Showing with 7 additions and 8 deletions.
  1. +2 −1 .gitignore
  2. +1 −1 README.textile
  3. +4 −6 config/database.yml
View
@@ -5,4 +5,5 @@ db/*.sqlite3
public/system
*.DS_Store
coverage/*
-*.swp
+*.swp
+.rake_tasks
View
@@ -5,4 +5,4 @@ shorter yet; then Twitter, and it was down to 140 characters.
The next progression is a symbol. In this case, an emotion or mood represented
by an image or emoticon.
-That is moodswings.
+That is moodswings. This is the future.
View
@@ -1,35 +1,33 @@
<% PASSWORD_FILE = File.join(RAILS_ROOT, '..', '..', 'shared', 'config', 'dbpassword') %>
development:
- adapter: mysql
+ adapter: postgresql
database: <%= PROJECT_NAME %>_development
username: root
password:
host: localhost
encoding: utf8
test:
- adapter: mysql
+ adapter: postgresql
database: <%= PROJECT_NAME %>_test
username: root
password:
host: localhost
encoding: utf8
staging:
- adapter: mysql
+ adapter: postgresql
database: <%= PROJECT_NAME %>_staging
username: <%= PROJECT_NAME %>
password: <%= File.read(PASSWORD_FILE).chomp if File.readable? PASSWORD_FILE %>
host: localhost
encoding: utf8
- socket: /var/lib/mysql/mysql.sock
production:
- adapter: mysql
+ adapter: postgresql
database: <%= PROJECT_NAME %>_production
username: <%= PROJECT_NAME %>
password: <%= File.read(PASSWORD_FILE).chomp if File.readable? PASSWORD_FILE %>
host: localhost
encoding: utf8
- socket: /var/lib/mysql/mysql.sock

0 comments on commit b1d95a3

Please sign in to comment.