debian-mirror-gitlab/db/migrate/20150411180045_rename_buildbox_service.rb

10 lines
280 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
class RenameBuildboxService < ActiveRecord::Migration[4.2]
2015-04-26 12:48:37 +05:30
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