Sha256: 691f19c3c4dcf5bfa4593ddcadfd237e540de1b107563e2be41e32f993ab260f
Contents?: true
Size: 429 Bytes
Versions: 1
Compression:
Stored size: 429 Bytes
Contents
# Workaround for https://github.com/citusdata/citus/issues/1080 # "Support DISABLE/ENABLE TRIGGER ALL on distributed tables" if Rails::VERSION::MAJOR < 5 require 'active_record/connection_adapters/postgresql_adapter' module ActiveRecord module ConnectionAdapters class PostgreSQLAdapter < AbstractAdapter def supports_disable_referential_integrity? false end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activerecord-multi-tenant-0.3.3 | lib/activerecord-multi-tenant/referential_integrity.rb |