Sha256: 57b0fb576f3b032ef801bbdd691ec76894e943bda02fcf0d97d89ee6916ff55b

Contents?: true

Size: 303 Bytes

Versions: 16

Compression:

Stored size: 303 Bytes

Contents

class AddSaltModulesToHostgroups < ActiveRecord::Migration[4.2]
  def self.up
    create_table 'hostgroups_salt_modules', :id => false do |t|
      t.column :hostgroup_id, :integer
      t.column :salt_module_id, :integer
    end
  end

  def self.down
    drop_table :hostgroups_salt_modules
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
foreman_salt-14.0.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-13.2.4 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-13.2.3 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-13.2.2 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-13.2.1 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-13.2.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-13.1.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-13.0.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-12.0.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-11.0.1 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-11.0.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-10.3.1 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-10.3.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-10.2.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-10.1.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-10.0.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb