Sha256: 030d4e0f5f43c4aca9b9fc8d1938febe382f8c731843372e965d39eb04cc5c54

Contents?: true

Size: 427 Bytes

Versions: 73

Compression:

Stored size: 427 Bytes

Contents

class CreateScaptimonyScapContentProfiles < ActiveRecord::Migration[4.2]
  def change
    create_table :scaptimony_scap_content_profiles do |t|
      t.references :scap_content, :index => true
      t.string :profile_id
      t.string :title
    end
    add_index :scaptimony_scap_content_profiles, %i[scap_content_id profile_id],
              :unique => true, :name => :index_scaptimony_scap_content_profiles_scipi
  end
end

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
foreman_openscap-10.1.0 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-10.0.3 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-10.0.2 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-10.0.1 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-10.0.0 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-9.0.4 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-9.0.3 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-9.0.2 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-9.0.1 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-9.0.0 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-8.0.0 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-7.1.1 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-7.1.0 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-7.0.0 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-6.0.0 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-5.2.3 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-5.2.2 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-5.1.1 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-5.2.1 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
foreman_openscap-5.2.0 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb