Sha256: a9548e46a54e049dbfbb82b31a24480795d8942489bd4a3027b6076e20e218b4
Contents?: true
Size: 323 Bytes
Versions: 98
Compression:
Stored size: 323 Bytes
Contents
class DisableSomeAudits < ActiveRecord::Migration[5.1] def change within_renalware_schema do 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 end
Version data entries
98 entries across 98 versions & 1 rubygems