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