Sha256: 8ca877589fe28161789fcbbf933067abddd3ef95d71cf4ab97194c9f0db801b3
Contents?: true
Size: 823 Bytes
Versions: 160
Compression:
Stored size: 823 Bytes
Contents
class AddActivationKeySystemPurposeAttributes < ActiveRecord::Migration[5.2] def change create_table :katello_activation_key_purpose_addons do |t| t.references :purpose_addon, index: { name: :katello_activation_key_purpose_addons_paid } t.references :activation_key, index: { name: :katello_activation_key_purpose_addons_akid } end add_column :katello_activation_keys, :purpose_role, :string add_column :katello_activation_keys, :purpose_usage, :string add_foreign_key :katello_activation_key_purpose_addons, :katello_activation_keys, column: :activation_key_id, name: :katello_act_key_purpose_addon_act_key_id add_foreign_key :katello_activation_key_purpose_addons, :katello_purpose_addons, column: :purpose_addon_id, name: :katello_act_key_purpose_addon_purpose_addon_id end end
Version data entries
160 entries across 160 versions & 1 rubygems