Sha256: e17c0fa17a8658faef8793a77b2ca1ef69e9661518ccbe8b7b236dc293983c41
Contents?: true
Size: 429 Bytes
Versions: 1
Compression:
Stored size: 429 Bytes
Contents
require "active_record/migration" module PgHaMigrations module ActiveRecordHacks module DisableDdlTransaction def disable_ddl_transaction # Default to disabled unless someone has set it elsewhere defined?(@disable_ddl_transaction) ? @disable_ddl_transaction : true end end end end ActiveRecord::Migration.singleton_class.prepend(PgHaMigrations::ActiveRecordHacks::DisableDdlTransaction)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pg_ha_migrations-1.8.0 | lib/pg_ha_migrations/hacks/disable_ddl_transaction.rb |