8784: Fix test for latest firefox.
[arvados.git] / services / api / db / migrate / 20170105160302_set_finished_at_on_finished_pipeline_instances.rb
1 class SetFinishedAtOnFinishedPipelineInstances < ActiveRecord::Migration
2   def change
3     ActiveRecord::Base.connection.execute("update pipeline_instances set finished_at=updated_at where finished_at is null and (state='Failed' or state='Complete')")
4   end
5 end