Sha256: f4aa366ec6897f1c85b17815ece0f4c007611c589885789f7562495bfd7dcf30

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

print "Using MySQL2\n"
require 'logger'

ActiveRecord::Base.logger = Logger.new("debug.log")

ActiveRecord::Base.configurations = {
  'mysql2' => {
    :adapter => 'mysql2',
    :database => 'foreign_key_migrations',
    :username => (ENV["TRAVIS"] ? '' : 'redhillonrails'),
    :encoding => 'utf8',
  }

}

ActiveRecord::Base.establish_connection 'mysql2'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aspgems-foreign_key_migrations-2.0.0.beta2 spec/connections/mysql2/connection.rb