Sha256: 48558c897d98d2229d47b0fd9d44669a7b831e2cdc772a53e33d9472d5fbc3e1

Contents?: true

Size: 711 Bytes

Versions: 153

Compression:

Stored size: 711 Bytes

Contents

class AddAnsibleFields < ActiveRecord::Migration[5.2]
  def change
    add_column :katello_ansible_collections, :description, :text

    create_table :katello_ansible_tags do |t|
      t.text :name, :null => false
    end

    create_table :katello_ansible_collection_tags do |t|
      t.references :ansible_tag
      t.references :ansible_collection
      t.index [:ansible_tag_id, :ansible_collection_id], :name => :index_katello_ans_coll_tags_on_ans_tag_id_and_ans_coll_id
    end

    add_foreign_key :katello_ansible_collection_tags, :katello_ansible_tags, column: :ansible_tag_id
    add_foreign_key :katello_ansible_collection_tags, :katello_ansible_collections, column: :ansible_collection_id
  end
end

Version data entries

153 entries across 153 versions & 1 rubygems

Version Path
katello-4.14.3 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.14.2 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.15.0 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.15.0.rc2 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.15.0.rc1 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.14.1 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.14.0 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.14.0.rc3 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.14.0.rc2 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.14.0.rc1.1 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.14.0.rc1 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.13.1 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.13.0 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.12.1 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.13.0.rc1 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.12.0 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.12.0.rc3 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.12.0.rc2 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.12.0.rc1 db/migrate/20190822144300_add_ansible_fields.rb
katello-4.11.1 db/migrate/20190822144300_add_ansible_fields.rb