Sha256: 4680bb20d40dc10c27344ac05d498081ac55b2cfb47350649ad64f4944d7b9bd

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

print "Using PostgreSQL\n"
require 'logger'

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

ActiveRecord::Base.configurations = {
  'postgres' => {
    :adapter => 'postgresql',
    :database => 'foreign_key_migrations',
    :username => 'postgres',
    :min_messages => 'warning'
  }

}

ActiveRecord::Base.establish_connection 'postgres'

Version data entries

1 entries across 1 versions & 1 rubygems

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