debian-mirror-gitlab/db/migrate/20150411180045_rename_buildbox_service.rb
2015-04-26 09:18:37 +02:00

10 lines
275 B
Ruby

class RenameBuildboxService < ActiveRecord::Migration
def up
execute "UPDATE services SET type = 'BuildkiteService' WHERE type = 'BuildboxService';"
end
def down
execute "UPDATE services SET type = 'BuildboxService' WHERE type = 'BuildkiteService';"
end
end