Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use postgres for database.yml

  • Loading branch information...
commit 2cf556b638839ca740c9628a9b83fbf670ab594f 1 parent 7bb5236
@gabebw gabebw authored
View
2  suspenders.gemspec
@@ -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
View
10 template/files/mysql_database.yml.erb → template/files/postgresql_database.yml.erb
@@ -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
4 template/suspenders.rb
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.