Sha256: 8b8f0b5c4a9ed3ce3c4ad1383dad191e9c05d7a348367c4701c161f41c76c0a9

Contents?: true

Size: 270 Bytes

Versions: 4

Compression:

Stored size: 270 Bytes

Contents

class AddProfileToScaptimonyPolicies < ActiveRecord::Migration
  def change
    # add_reference :scaptimony_policies, :scap_content_profile, index: true
    add_column :scaptimony_policies, :scap_content_profile_id, :integer, references: :scap_content_profile
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
foreman_openscap-0.5.0 db/migrate/20141116171305_add_profile_to_scaptimony_policies.rb
scaptimony-0.3.2 db/migrate/20141116171305_add_profile_to_scaptimony_policies.rb
scaptimony-0.3.1 db/migrate/20141116171305_add_profile_to_scaptimony_policies.rb
scaptimony-0.3.0 db/migrate/20141116171305_add_profile_to_scaptimony_policies.rb