diff options
Diffstat (limited to 'db/migrate/20151023112551_fail_build_with_empty_name.rb')
-rw-r--r-- | db/migrate/20151023112551_fail_build_with_empty_name.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20151023112551_fail_build_with_empty_name.rb b/db/migrate/20151023112551_fail_build_with_empty_name.rb index 41c0f0649cd..28f531463bc 100644 --- a/db/migrate/20151023112551_fail_build_with_empty_name.rb +++ b/db/migrate/20151023112551_fail_build_with_empty_name.rb @@ -1,4 +1,4 @@ -class FailBuildWithEmptyName < ActiveRecord::Migration +class FailBuildWithEmptyName < ActiveRecord::Migration[4.2] def up execute("UPDATE ci_builds SET status='failed' WHERE (name IS NULL OR name='') AND status='pending'") end |