Sha256: bd2e3b20525aac3fd5bb6b24aa0f9a2310dbb6e3d91afb2dec79fa55437938fa
Contents?: true
Size: 444 Bytes
Versions: 1
Compression:
Stored size: 444 Bytes
Contents
class AddGpgKeyToSccAccount < ActiveRecord::Migration[5.2] def change add_column :scc_accounts, :katello_gpg_key_id, :integer, null: true if ::Katello.const_defined?(:ContentCredential) add_foreign_key :scc_accounts, :katello_content_credentials, column: :katello_gpg_key_id, on_delete: :nullify else add_foreign_key :scc_accounts, :katello_gpg_keys, column: :katello_gpg_key_id, on_delete: :nullify end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_scc_manager-1.8.15 | db/migrate/20201119084201_add_gpg_key_to_scc_account.rb |