Sha256: df20b2792a48a4099a67a31212103368a92120fb951ac3778630f99f071f88a6
Contents?: true
Size: 276 Bytes
Versions: 61
Compression:
Stored size: 276 Bytes
Contents
class DisableSomeAudits < ActiveRecord::Migration[5.1] def change add_column :reporting_audits, :enabled, :boolean, null: false, default: true connection.execute( "update reporting_audits set enabled = false where name in ('Bone', 'Anaemia');" ) end end
Version data entries
61 entries across 61 versions & 1 rubygems