Sha256: c82707a4868df6d05a964fc9be99669aa86bb6e972ee19580091fbec07921bc9

Contents?: true

Size: 1.69 KB

Versions: 30

Compression:

Stored size: 1.69 KB

Contents

# PostgreSQL. Versions 8.2 and up are supported.
#
# Install the pg driver:
#   gem install pg
# On OS X with Homebrew:
#   gem install pg -- --with-pg-config=/usr/local/bin/pg_config
# On OS X with MacPorts:
#   gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
# On Windows:
#   gem install pg
#       Choose the win32 build.
#       Install PostgreSQL and put its /bin directory on your path.
#
# Configure Using Gemfile
# gem 'pg'
#
development:
  adapter: postgresql
  encoding: unicode
  database: <%= app_name %>_development
  pool: 5
  username: <%= app_name %>
  password:

  # Connect on a TCP socket. Omitted by default since the client uses a
  # domain socket that doesn't need configuration. Windows does not have
  # domain sockets, so uncomment these lines.
  #host: localhost

  # The TCP port the server listens on. Defaults to 5432.
  # If your server runs on a different port number, change accordingly.
  #port: 5432

  # Schema search path. The server defaults to $user,public
  #schema_search_path: myapp,sharedapp,public

  # Minimum log levels, in increasing order:
  #   debug5, debug4, debug3, debug2, debug1,
  #   log, notice, warning, error, fatal, and panic
  # Defaults to warning.
  #min_messages: notice

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
  adapter: postgresql
  encoding: unicode
  database: <%= app_name %>_test
  pool: 5
  username: <%= app_name %>
  password:

production:
  adapter: postgresql
  encoding: unicode
  database: <%= app_name %>_production
  pool: 5
  username: <%= app_name %>
  password:

Version data entries

30 entries across 30 versions & 2 rubygems

Version Path
railties-4.0.13 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.13.rc1 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.11.1 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.12 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.11 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.10 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.10.rc2 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.10.rc1 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.9 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.8 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.7 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.6 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.6.rc3 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.6.rc2 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.6.rc1 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.5 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.4 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.4.rc1 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.3 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
railties-4.0.2 lib/rails/generators/rails/app/templates/config/databases/postgresql.yml