Permalink
Browse files

Use postgres for database.yml

  • Loading branch information...
gabebw committed Jul 16, 2011
1 parent 7bb5236 commit 2cf556b638839ca740c9628a9b83fbf670ab594f
View
@@ -46,7 +46,7 @@ rush to build something amazing; don't use it if you like missing deadlines.
template/files/body_class_helper.rb
template/files/errors.rb
template/files/factory_girl_steps.rb
- template/files/mysql_database.yml.erb
+ template/files/postgresql_database.yml.erb
template/files/suspenders_gitignore
template/files/suspenders_layout.html.erb.erb
template/files/time_formats.rb
@@ -1,12 +1,10 @@
development: &default
- adapter: mysql
+ adapter: postgresql
database: <%= app_name %>_development
- username: root
- password:
- host: localhost
- encoding: utf8
+ pool: 5
+ timeout: 5000
test: &TEST
<<: *default
database: <%= app_name %>_test
-
+ min_messages: warning
View
@@ -89,9 +89,9 @@ def trout(destination_path)
say "Get ready for bundler... (this will take a while)"
-say "Let's use MySQL"
+say "Let's use PostgreSQL"
-template "mysql_database.yml.erb", "config/database.yml", :force => true
+template "postgresql_database.yml.erb", "config/database.yml", :force => true
rake "db:create"
say "Setting up plugins"

0 comments on commit 2cf556b

Please sign in to comment.