Sha256: 2f726832f7829bf9e4c07fa674ac79f7abb423cf0eddac4a393d72a6ed392020
Contents?: true
Size: 1.01 KB
Versions: 7
Compression:
Stored size: 1.01 KB
Contents
<% connection = case ENV["DB"] when "mysql" { :adapter => "mysql2" } when "postgresql" { :adapter => "postgresql", :username => ENV['USER'] } else { :adapter => "sqlite3", :database => "db/test.sqlite3" } end %> sqlite3: &sqlite3 adapter: sqlite3 database: db/development.sqlite3 pool: 5 timeout: 5000 postgresql: &postgresql adapter: postgresql database: typus_test username: fesplugas pool: 5 timeout: 5000 development: <<: *sqlite3 # 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: <%= connection[:adapter] %> database: <%= connection[:database] || 'typus_test' %> username: <%= connection[:username] || 'root' %> pool: 5 timeout: 5000 production: adapter: sqlite3 database: db/production.sqlite3 pool: 5 timeout: 5000
Version data entries
7 entries across 7 versions & 1 rubygems