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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20151019111703_fail_build_without_names.rb b/db/migrate/20151019111703_fail_build_without_names.rb
index 362e31eb435..631c5b544d0 100644
--- a/db/migrate/20151019111703_fail_build_without_names.rb
+++ b/db/migrate/20151019111703_fail_build_without_names.rb
@@ -1,5 +1,5 @@
# rubocop:disable all
-class FailBuildWithoutNames < ActiveRecord::Migration
+class FailBuildWithoutNames < ActiveRecord::Migration[4.2]
def up
execute("UPDATE ci_builds SET status='failed' WHERE name IS NULL AND status='pending'")
end