PostgreSQL
 sql >> Database >  >> RDS >> PostgreSQL

Passa da SQLite a PostgreSQL in un nuovo progetto Rails

Puoi cambiare il tuo database.yml in questo invece di usare quello sqlite pronto all'uso:

development:
  adapter: postgresql
  encoding: utf8
  database: project_development
  pool: 5
  username: 
  password:

test: &TEST
  adapter: postgresql
  encoding: utf8
  database: project_test
  pool: 5
  username: 
  password:

production:
  adapter: postgresql
  encoding: utf8
  database: project_production
  pool: 5
  username: 
  password:

cucumber:
  <<: *TEST