Advertisement
Guest User

Untitled

a guest
Aug 7th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.45 KB | None | 0 0
  1. cat database.yml
  2. # PostgreSQL. Versions 7.4 and 8.x are supported.
  3. #
  4. # Install the pg driver:
  5. #   gem install pg
  6. # On Mac OS X with macports:
  7. #   gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
  8. # On Windows:
  9. #   gem install pg
  10. #       Choose the win32 build.
  11. #       Install PostgreSQL and put its /bin directory on your path.
  12. development:
  13.   adapter: postgresql
  14.   encoding: unicode
  15.   database: blog_development
  16.   pool: 5
  17.   username: blog
  18.   password:
  19.   # Connect on a TCP socket. Omitted by default since the client uses a
  20.   # domain socket that doesn't need configuration. Windows does not have
  21.   # domain sockets, so uncomment these lines.
  22.   #host: localhost
  23.   #port: 5432
  24.  
  25.   # Schema search path. The server defaults to $user,public
  26.   #schema_search_path: myapp,sharedapp,public
  27.  
  28.   # Minimum log levels, in increasing order:
  29.   #   debug5, debug4, debug3, debug2, debug1,
  30.   #   log, notice, warning, error, fatal, and panic
  31.   # The server defaults to notice.
  32.   #min_messages: warning
  33.  
  34. # Warning: The database defined as "test" will be erased and
  35. # re-generated from your development database when you run "rake".
  36. # Do not set this db to the same as development or production.
  37. test:
  38.   adapter: postgresql
  39.   encoding: unicode
  40.   database: blog_test
  41.   pool: 5
  42.   username: blog
  43.   password:
  44. production:
  45.   adapter: postgresql
  46.   encoding: unicode
  47.   database: blog_production
  48.   pool: 5
  49.   username: blog
  50.   password:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement