Sha256: e2a859168cebbafbe92202903c257a610ca23965d2f7c8607f7e2de89855834d

Contents?: true

Size: 413 Bytes

Versions: 5

Compression:

Stored size: 413 Bytes

Contents

class CreateScaptimonyScapContentProfiles < ActiveRecord::Migration
  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, [:scap_content_id, :profile_id],
      :unique => true, :name => :index_scaptimony_scap_content_profiles_scipi
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
foreman_openscap-0.5.0 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
scaptimony-0.3.2 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
scaptimony-0.3.1 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
scaptimony-0.3.0 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
scaptimony-0.2.0 db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb