Sha256: d0c0c538cfbc2a045210f44e3f6037d3b13e926d25d7915dac40cda454066b25

Contents?: true

Size: 274 Bytes

Versions: 12

Compression:

Stored size: 274 Bytes

Contents

class ChangeDefaultInterval < ActiveRecord::Migration
  def up
    change_column :foreman_virt_who_configure_configs, :interval, :integer, :default => 120
  end

  def down
    change_column :foreman_virt_who_configure_configs, :interval, :integer, :default => 60
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
foreman_virt_who_configure-0.1.9 db/migrate/20170215152851_change_default_interval.rb
foreman_virt_who_configure-0.1.8 db/migrate/20170215152851_change_default_interval.rb
foreman_virt_who_configure-0.1.7 db/migrate/20170215152851_change_default_interval.rb
foreman_virt_who_configure-0.1.6 db/migrate/20170215152851_change_default_interval.rb
foreman_virt_who_configure-0.1.5 db/migrate/20170215152851_change_default_interval.rb
foreman_virt_who_configure-0.1.4 db/migrate/20170215152851_change_default_interval.rb
foreman_virt_who_configure-0.1.3 db/migrate/20170215152851_change_default_interval.rb
foreman_virt_who_configure-0.1.2 db/migrate/20170215152851_change_default_interval.rb
foreman_virt_who_configure-0.1.1 db/migrate/20170215152851_change_default_interval.rb
foreman_virt_who_configure-0.1.0 db/migrate/20170215152851_change_default_interval.rb
foreman_virt_who_configure-0.0.2 db/migrate/20170215152851_change_default_interval.rb
foreman_virt_who_configure-0.0.1 db/migrate/20170215152851_change_default_interval.rb