debian-mirror-gitlab/db/migrate/20210603222333_remove_builds_email_service_from_services.rb

12 lines
224 B
Ruby
Raw Normal View History

2021-09-04 01:27:46 +05:30
# frozen_string_literal: true
class RemoveBuildsEmailServiceFromServices < ActiveRecord::Migration[6.1]
def up
execute("DELETE from services WHERE type = 'BuildsEmailService'")
end
def down
# no-op
end
end