Sha256: bbc20ffb0bd52e1010a4e3039f5d45a3a1cddf2db0a2e57e0bc34370391ac8f4

Contents?: true

Size: 317 Bytes

Versions: 32

Compression:

Stored size: 317 Bytes

Contents

class UpdateAnsibleInvTemplateName < ActiveRecord::Migration[5.2]
  def up
    Setting.where(:name => 'ansible_inventory_template').update_all(:default => 'Ansible - Ansible Inventory')
  end
  
  def down
    Setting.where(:name => 'ansible_inventory_template').update_all(:default => 'Ansible Inventory')
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
foreman_ansible-7.1.8 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-7.1.7 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-7.1.6 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-7.1.5 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-7.1.4 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-7.1.3 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-7.1.2 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-7.1.1 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-8.0.0 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-7.0.4 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-7.1.0 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-7.0.3 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-7.0.2 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-7.0.1 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-7.0.0 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-6.3.4 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-6.3.3 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-6.3.2 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-6.3.1 db/migrate/20200421201839_update_ansible_inv_template_name.rb
foreman_ansible-6.4.1 db/migrate/20200421201839_update_ansible_inv_template_name.rb