summaryrefslogtreecommitdiff
path: root/db/migrate/20151019111703_fail_build_without_names.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20151019111703_fail_build_without_names.rb')
-rw-r--r--db/migrate/20151019111703_fail_build_without_names.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20151019111703_fail_build_without_names.rb b/db/migrate/20151019111703_fail_build_without_names.rb
index dcdb5d1b25d..362e31eb435 100644
--- a/db/migrate/20151019111703_fail_build_without_names.rb
+++ b/db/migrate/20151019111703_fail_build_without_names.rb
@@ -1,3 +1,4 @@
+# rubocop:disable all
class FailBuildWithoutNames < ActiveRecord::Migration
def up
execute("UPDATE ci_builds SET status='failed' WHERE name IS NULL AND status='pending'")