Sha256: 88cfd4603cdf8b2360d7e96e335a3f03aae95787bf31de5e3b1c78433e6ca9d5

Contents?: true

Size: 254 Bytes

Versions: 8

Compression:

Stored size: 254 Bytes

Contents

require "active_record/connection_adapters/postgresql_adapter"

ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.class_eval do
  def supports_ddl_transactions?
    false # switch off auto transaction to avoid problems with index concerently
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dbmigrator-0.7.7 lib/dbmigrator/postgres.rb
dbmigrator-0.7.6 lib/dbmigrator/postgres.rb
dbmigrator-0.7.5 lib/dbmigrator/postgres.rb
dbmigrator-0.7.4 lib/dbmigrator/postgres.rb
dbmigrator-0.7.1 lib/dbmigrator/postgres.rb
dbmigrator-0.7.0 lib/dbmigrator/postgres.rb
dbmigrator-0.6.0 lib/dbmigrator/postgres.rb
dbmigrator-0.5.3 lib/dbmigrator/postgres.rb