BigW Consortium Gitlab

20151019111703_fail_build_without_names.rb 183 Bytes
Newer Older
1
class FailBuildWithoutNames < ActiveRecord::Migration
2
  def up
3 4
    execute("UPDATE ci_builds SET status='failed' WHERE name IS NULL AND status='pending'")
  end
5 6 7

  def down
  end
8
end