Sha256: 19896923ac751f38522d2cffa51d0f3967e8d5a5cdfa1c5661491e39e1b7da77

Contents?: true

Size: 434 Bytes

Versions: 43

Compression:

Stored size: 434 Bytes

Contents

class ChangeActivationKeyColumnNames < ActiveRecord::Migration
  def self.up
    rename_column :katello_activation_keys, :max_content_hosts, :max_hosts
    rename_column :katello_activation_keys, :unlimited_content_hosts, :unlimited_hosts
  end

  def self.down
    rename_column :katello_activation_keys, :max_hosts, :max_content_hosts
    rename_column :katello_activation_keys, :unlimited_hosts, :unlimited_content_hosts
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
katello-3.5.2 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.5.1.1 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.5.1 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.5.0.1 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.5.0 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.5.0.rc2 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.5.0.rc1 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.4.5 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.4.4 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.4.2 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.4.1 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.4.0.2 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.4.0.1 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.3.2 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.4.0 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.4.0.rc2 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.4.0.rc1 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.3.1.1 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.3.1 db/migrate/20160317171813_change_activation_key_column_names.rb
katello-3.3.0.1 db/migrate/20160317171813_change_activation_key_column_names.rb