Sha256: 55afe730e2b999cb81e348a3db2a8660397b332239ab69d0fd0a2a8134fd81d1

Contents?: true

Size: 300 Bytes

Versions: 12

Compression:

Stored size: 300 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

12 entries across 12 versions & 1 rubygems

Version Path
foreman_salt-17.0.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-16.0.3 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-16.0.2 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-16.0.1 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-16.0.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-15.2.3 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-15.2.2 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-15.2.1 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-15.2.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-15.1.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-15.0.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
foreman_salt-14.1.0 db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb