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 | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/db/migrate/20151023112551_fail_build_with_empty_name.rb b/db/migrate/20151023112551_fail_build_with_empty_name.rb deleted file mode 100644 index 28f531463bc..00000000000 --- a/db/migrate/20151023112551_fail_build_with_empty_name.rb +++ /dev/null @@ -1,8 +0,0 @@ -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 - - def down - end -end |