Sha256: c443ac232b74b2cb5f56e806cc77705d16afbdaf1d1ded2450827001e1f9e22a

Contents?: true

Size: 363 Bytes

Versions: 5

Compression:

Stored size: 363 Bytes

Contents

class CreateScaptimonyPolicyRevisions < ActiveRecord::Migration
  def change
    create_table :scaptimony_policy_revisions do |t|
      t.references :policy, index: true
      t.references :scap_content, index: true
      t.string :xccdf_profile
      t.string :period
      t.string :weekday
      t.timestamp :active_until

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
foreman_openscap-0.5.0 db/migrate/20141104171545_create_scaptimony_policy_revisions.rb
scaptimony-0.3.2 db/migrate/20141104171545_create_scaptimony_policy_revisions.rb
scaptimony-0.3.1 db/migrate/20141104171545_create_scaptimony_policy_revisions.rb
scaptimony-0.3.0 db/migrate/20141104171545_create_scaptimony_policy_revisions.rb
scaptimony-0.2.0 db/migrate/20141104171545_create_scaptimony_policy_revisions.rb