Sha256: f8e33af5bce315b0c610abe0fa14e30ddcb76de1fdfd65ff1ddb5cdc5144edf7
Contents?: true
Size: 430 Bytes
Versions: 13
Compression:
Stored size: 430 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
13 entries across 13 versions & 1 rubygems