Sha256: 219d58a07db6c10bf02ba2df4c6831fb3f1b9348bc66183936bbd50e054f7955

Contents?: true

Size: 1.05 KB

Versions: 7

Compression:

Stored size: 1.05 KB

Contents

<% case ENV['DB']
  when 'sqlite' %>
development:
  adapter: sqlite3
  database: "db/spree_development.sqlite3"
test:
  adapter: sqlite3
  database: "db/spree_test.sqlite3"
production:
  adapter: sqlite3
  database: "db/spree_production.sqlite3"
<% when 'mysql' %>
development:
  adapter: mysql2
  database: spree_development
  username:
  encoding: utf8
test:
  adapter: mysql2
  database: spree_test
  username:
  encoding: utf8
production:
  adapter: mysql2
  database: spree_production
  username:
  encoding: utf8
<% when 'postgres' %>
development:
  adapter: postgresql
  database: spree_test
  username: postgres
  min_messages: warning
test:
  adapter: postgresql
  database: spree_test
  username: postgres
  min_messages: warning
production:
  adapter: postgresql
  database: spree_production
  username: postgres
  min_messages: warning
<% else %>
development:
  adapter: sqlite3
  database: "db/spree_development.sqlite3"
test:
  adapter: sqlite3
  database: "db/spree_test.sqlite3"
production:
  adapter: sqlite3
  database: "db/spree_production.sqlite3"
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spree_core-1.1.3 lib/generators/spree/dummy/templates/rails/database.yml
spree_core-1.1.2 lib/generators/spree/dummy/templates/rails/database.yml
spree_core-1.1.2.rc1 lib/generators/spree/dummy/templates/rails/database.yml
spree_core-1.1.1 lib/generators/spree/dummy/templates/rails/database.yml
spree_core-1.1.0 lib/generators/spree/dummy/templates/rails/database.yml
spree_core-1.1.0.rc2 lib/generators/spree/dummy/templates/rails/database.yml
spree_core-1.1.0.rc1 lib/generators/spree/dummy/templates/rails/database.yml