Sha256: f5824416de849f627d1da0b6879f6e396325eaa72601fc4ff091ce44fadd17e4

Contents?: true

Size: 298 Bytes

Versions: 30

Compression:

Stored size: 298 Bytes

Contents

class AddSaltModulesToHostgroups < ActiveRecord::Migration
  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

30 entries across 30 versions & 1 rubygems

Version Path
foreman_salt-8.0.4 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-9.0.1 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-9.0.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-8.0.3 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-8.0.2 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-8.0.1 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-7.0.3 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-8.0.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-7.0.2 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-6.0.1 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-7.0.1 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-7.0.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-6.0.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-5.0.1 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-5.0.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-4.0.1 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-4.0.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-3.0.2 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-3.0.1 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-3.0.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb