Sha256: e0a25ac974b12ae96b7c40673ebdd34824d613de986a6a243fa2235fab0c61d4

Contents?: true

Size: 659 Bytes

Versions: 44

Compression:

Stored size: 659 Bytes

Contents

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

44 entries across 44 versions & 1 rubygems

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