Skip to content

Commit

Permalink
Add vm_ems_ref to event_streams
Browse files Browse the repository at this point in the history
Early events in a VM's lifecycle don't contain the vmPathName yet which
is used to connect events which were processed before the VM gets
created by EmsRefresh.  These events do however contain the ems_ref of
the VM which can be used for more reliable event -> vm association.

https://bugzilla.redhat.com/show_bug.cgi?id=1428797
  • Loading branch information
agrare committed Mar 13, 2018
1 parent 4c8af96 commit 664d989
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions db/migrate/20180313135925_add_vm_ems_ref_to_event_streams.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class AddVmEmsRefToEventStreams < ActiveRecord::Migration[5.0]
def change
add_column :event_streams, :vm_ems_ref, :string
add_column :event_streams, :dest_vm_ems_ref, :string
end
end

0 comments on commit 664d989

Please sign in to comment.