BigW Consortium Gitlab

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

  def down
  end
9
end