-
Notifications
You must be signed in to change notification settings - Fork 2
/
database.yml.in
44 lines (39 loc) · 1.07 KB
/
database.yml.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
# gem install mysql
# On MacOS X:
# gem install mysql -- --include=/usr/local/lib
# On Windows:
# There is no gem for Windows. Install mysql.so from RubyForApache.
# http://rubyforge.org/projects/rubyforapache
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
#development:
# adapter: sqlite3
# database: db/development.db
development:
adapter: postgresql
database: @APPNAME@_development
username: @APPNAME@_development
password: @DBPASSWORD@
encoding: utf8
host: <%= ::Rails.root.to_s %>/run
reconnect: true
development_migration:
adapter: postgresql
database: @APPNAME@_development
username: @APPNAME@_development
password: @DBPASSWORD@
encoding: utf8
host: <%= ::Rails.root.to_s %>/run
reconnect: true
test:
adapter: postgresql
database: @APPNAME@_test
username: @APPNAME@_development
password: @DBPASSWORD@
encoding: utf8
host: <%= ::Rails.root.to_s %>/run
reconnect: true