Sha256: a695d5f34578e128e5b5d6d2aa84fad476e5f49586c4747dd99b48f13c716c10
Contents?: true
Size: 383 Bytes
Versions: 56
Compression:
Stored size: 383 Bytes
Contents
class RenameLockTemplateSetting < ActiveRecord::Migration[4.2] def change reversible do |dir| dir.up do setting = Setting.find_by_name("discovery_lock_template") setting.destroy if setting end dir.down do setting = Setting.find_by_name("discovery_pxelinux_lock_template") setting.destroy if setting end end end end
Version data entries
56 entries across 56 versions & 1 rubygems