Skip to content

Commit

Permalink
Merge pull request ManageIQ#42 from aufi/add_subject_to_openscap_results
Browse files Browse the repository at this point in the history
Add Resource to OpenSCAP results
  • Loading branch information
Fryguy authored Jul 26, 2017
2 parents 40e0612 + 277fbcc commit 1d23da4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions db/migrate/20170717084208_add_resource_to_open_scap_result.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class AddResourceToOpenScapResult < ActiveRecord::Migration[5.0]
def change
add_column :openscap_results, :resource_id, :bigint
add_column :openscap_results, :resource_type, :string
end
end
2 changes: 2 additions & 0 deletions db/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5418,6 +5418,8 @@ openscap_results:
- id
- container_image_id
- created_at
- resource_id
- resource_type
openscap_rule_results:
- id
- openscap_result_id
Expand Down

0 comments on commit 1d23da4

Please sign in to comment.