Sha256: fa64573f6e9036d3308c1c4aaf4857c7e610f227c859fe15a8c71205d8c4b444

Contents?: true

Size: 316 Bytes

Versions: 23

Compression:

Stored size: 316 Bytes

Contents

class AddRootRepositoryIdToSccRepository < ActiveRecord::Migration[5.2]
  def change
    add_column :scc_repositories, :katello_root_repository_id, :integer, index: true, null: true
    add_foreign_key :scc_repositories, :katello_root_repositories, column: :katello_root_repository_id, on_delete: :nullify
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
foreman_scc_manager-4.0.0 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-3.1.1 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-3.1.0 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-3.0.0 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-2.3.0 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-2.2.3 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-2.2.2 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-2.2.1 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-2.2.0 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-2.1.0 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-2.0.0 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-1.8.20 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-1.8.19 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-1.8.18 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-1.8.17 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-1.8.16 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-1.8.15 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-1.8.13 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-1.8.12 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb
foreman_scc_manager-1.8.10 db/migrate/20210210104407_add_root_repository_id_to_scc_repository.rb