Sha256: 683e4c0a3da2da12da43f546d948f296900096bd98bd01d54610ce95cd51e57e
Contents?: true
Size: 760 Bytes
Versions: 164
Compression:
Stored size: 760 Bytes
Contents
class RemoveForemanDockerSupport < ActiveRecord::Migration[5.1] def change if table_exists?(:docker_images) remove_column :docker_images, :katello_uuid remove_column :docker_images, :katello_repository_id end if table_exists?(:docker_tags) remove_index :docker_tags, :name => :katello_docker_tag_repository_id remove_column :docker_tags, :katello_repository_id end if table_exists?(:docker_container_wizard_states_images) && column_exists?(:docker_container_wizard_states_images, :capsule_id) remove_column :docker_container_wizard_states_images, :capsule_id end if table_exists?(:containers) && column_exists?(:containers, :capsule_id) remove_column :containers, :capsule_id end end end
Version data entries
164 entries across 164 versions & 1 rubygems