Sha256: 6b5497e5ef92e6678db521e9724e3457b9c6319682bc20dd73b80630a973e04a

Contents?: true

Size: 258 Bytes

Versions: 7

Compression:

Stored size: 258 Bytes

Contents

class AddGpgKeyToSccAccount < ActiveRecord::Migration[5.2]
  def change
    add_column :scc_accounts, :katello_gpg_key_id, :integer,  null: true
    add_foreign_key :scc_accounts, :katello_gpg_keys, column: :katello_gpg_key_id, on_delete: :nullify
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
foreman_scc_manager-1.8.13 db/migrate/20201119084201_add_gpg_key_to_scc_account.rb
foreman_scc_manager-1.8.12 db/migrate/20201119084201_add_gpg_key_to_scc_account.rb
foreman_scc_manager-1.8.10 db/migrate/20201119084201_add_gpg_key_to_scc_account.rb
foreman_scc_manager-1.8.9 db/migrate/20201119084201_add_gpg_key_to_scc_account.rb
foreman_scc_manager-1.8.8 db/migrate/20201119084201_add_gpg_key_to_scc_account.rb
foreman_scc_manager-1.8.7 db/migrate/20201119084201_add_gpg_key_to_scc_account.rb
foreman_scc_manager-1.8.6 db/migrate/20201119084201_add_gpg_key_to_scc_account.rb