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

  def down
  end
Kamil Trzcinski's avatar
Kamil Trzcinski committed
8
end