quinta-feira, 19 de fevereiro de 2009

Rails - Database.yml e PostgreSql

# PostgreSQL. Versions 7.4 and 8.x are supported.
#
# Install the ruby-postgres driver:
#   gem install ruby-postgres
# On Mac OS X:
#   gem install ruby-postgres -- --include=/usr/local/pgsql
# On Windows:
#   gem install ruby-postgres
#       Choose the win32 build.
#       Install PostgreSQL and put its /bin directory on your path.
development:
  adapter: postgresql
  encoding: unicode
  database: nome_do_banco_de_dados
  username: usuario
  password: senha
  # Path de procura de Schema. Os defaults do servidor sã0 $user,public
  #schema_search_path: myapp,sharedapp,public
  schema_search_path: nome_do_schema_se_for_usar
  host: nome_ou_ip_do_host
  port: porta_se_nao_for_a_default
  

Nenhum comentário:

Postar um comentário