Sha256: 3616e1183af4db3f46d460e16d334f38302747bc0a768fd0fa5cd86cfe3e3a6c

Contents?: true

Size: 664 Bytes

Versions: 195

Compression:

Stored size: 664 Bytes

Contents

class AddOrganizationFields < ActiveRecord::Migration[4.2]
  def change
    add_column :taxonomies, :description, :text unless column_exists?(:taxonomies, :description)
    add_column :taxonomies, :label, :string, :limit => 255
    add_column :taxonomies, :deletion_task_id, :integer
    add_column :taxonomies, :default_info, :text
    add_column :taxonomies, :apply_info_task_id, :integer
    add_column :taxonomies, :owner_auto_attach_all_systems_task_id, :integer

    add_index :taxonomies, [:deletion_task_id], :name => "index_organizations_on_task_id"
    add_index :taxonomies, [:label], :name => "index_organizations_on_cp_key", :unique => true
  end
end

Version data entries

195 entries across 195 versions & 1 rubygems

Version Path
katello-4.14.2 db/migrate/20131120225132_add_organization_fields.rb
katello-4.15.0 db/migrate/20131120225132_add_organization_fields.rb
katello-4.15.0.rc2 db/migrate/20131120225132_add_organization_fields.rb
katello-4.15.0.rc1 db/migrate/20131120225132_add_organization_fields.rb
katello-4.14.1 db/migrate/20131120225132_add_organization_fields.rb
katello-4.14.0 db/migrate/20131120225132_add_organization_fields.rb
katello-4.14.0.rc3 db/migrate/20131120225132_add_organization_fields.rb
katello-4.14.0.rc2 db/migrate/20131120225132_add_organization_fields.rb
katello-4.14.0.rc1.1 db/migrate/20131120225132_add_organization_fields.rb
katello-4.14.0.rc1 db/migrate/20131120225132_add_organization_fields.rb
katello-4.13.1 db/migrate/20131120225132_add_organization_fields.rb
katello-4.13.0 db/migrate/20131120225132_add_organization_fields.rb
katello-4.12.1 db/migrate/20131120225132_add_organization_fields.rb
katello-4.13.0.rc1 db/migrate/20131120225132_add_organization_fields.rb
katello-4.12.0 db/migrate/20131120225132_add_organization_fields.rb
katello-4.12.0.rc3 db/migrate/20131120225132_add_organization_fields.rb
katello-4.12.0.rc2 db/migrate/20131120225132_add_organization_fields.rb
katello-4.12.0.rc1 db/migrate/20131120225132_add_organization_fields.rb
katello-4.11.1 db/migrate/20131120225132_add_organization_fields.rb
katello-4.11.0 db/migrate/20131120225132_add_organization_fields.rb