Sha256: 0bacc592a617915825c8c4cf8455cf70c14e6c2d661e985850cd6abbe3e9ef0b

Contents?: true

Size: 1.49 KB

Versions: 5

Compression:

Stored size: 1.49 KB

Contents

# MySQL.  Versions 4.1 and 5.0 are recommended.
#
# Install the MYSQL driver
#   gem install mysql2
#
# Ensure the MySQL gem is defined in your Gemfile
#   gem 'mysql2'
#
# And be sure to use new-style password hashing:
#   http://dev.mysql.com/doc/refman/5.0/en/old-client.html

connection_spec: &spec
  adapter: mysql2
  encoding: utf8
  reconnect: false
  pool: 5
  username: root
  password:
  socket: /tmp/mysql.sock

development:
  <<: *spec
  database: sample_app_development
  seq:
    user_seq_1:
      <<: *spec
      database: sample_app_user_seq_development
  shards:
    user_shard_1:
      <<: *spec
      database: sample_app_user1_development
    user_shard_2:
      <<: *spec
      database: sample_app_user2_development
    user_shard_3:
      <<: *spec
      database: sample_app_user3_development


# 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:
  <<: *spec
  database: sample_app_test
  seq:
    user_seq_1:
      <<: *spec
      database: sample_app_user_seq_test
  shards:
    user_shard_1:
      <<: *spec
      database: sample_app_user1_test
    user_shard_2:
      <<: *spec
      database: sample_app_user2_test
    user_shard_3:
      <<: *spec
      database: sample_app_user3_test


production:
  adapter: mysql2
  encoding: utf8
  reconnect: false
  database: sample_app_production
  pool: 5
  username: root
  password:
  socket: /tmp/mysql.sock

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-turntable-1.1.2 sample_app/config/database.yml
activerecord-turntable-1.1.1 sample_app/config/database.yml
activerecord-turntable-1.1.0 sample_app/config/database.yml
activerecord-turntable-1.0.1 sample_app/config/database.yml
activerecord-turntable-1.0.0 sample_app/config/database.yml