Sha256: f1fa04e41547b7f50fef66b8c7a4e1ce93d2213ef48a46d13e9a690d458d777e

Contents?: true

Size: 376 Bytes

Versions: 9

Compression:

Stored size: 376 Bytes

Contents

# Workaround for https://github.com/citusdata/citus/issues/1080
# "Support DISABLE/ENABLE TRIGGER ALL on distributed tables"

require 'active_record/connection_adapters/postgresql_adapter'

module ActiveRecord
  module ConnectionAdapters
    class PostgreSQLAdapter < AbstractAdapter
      def supports_disable_referential_integrity?
        false
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
activerecord-multi-tenant-0.9.0 lib/activerecord-multi-tenant/referential_integrity.rb
activerecord-multi-tenant-0.8.1 lib/activerecord-multi-tenant/referential_integrity.rb
activerecord-multi-tenant-0.8.0 lib/activerecord-multi-tenant/referential_integrity.rb
activerecord-multi-tenant-0.7.0 lib/activerecord-multi-tenant/referential_integrity.rb
activerecord-multi-tenant-0.6.0 lib/activerecord-multi-tenant/referential_integrity.rb
activerecord-multi-tenant-0.5.0 lib/activerecord-multi-tenant/referential_integrity.rb
activerecord-multi-tenant-0.4.1 lib/activerecord-multi-tenant/referential_integrity.rb
activerecord-multi-tenant-0.4.0 lib/activerecord-multi-tenant/referential_integrity.rb
activerecord-multi-tenant-0.3.4 lib/activerecord-multi-tenant/referential_integrity.rb